1 Applied CyberInfrastructure Concepts ISTA 420/520 Fall
Version control with Git 2
Docker Vs. Git Discussion 3
Version control Do we really need it ? How will we use it Do you have your git hub account ? Git != Git Hub Git Hub is your CV/Resume 4
Example of why having a public code repo is important 5
6
7 What does GitHub say about you?
8
What is GIT? 9
What is GitHub? 10
Tracking programming trends 11
How is Git used? Install git Config yourself (git config) Initialize a project (git or GitHub) git init git clone Git going... Make files, edit files git add git commit git push 12
13
14 Getting started
Add new files 15
Log 16
Oops! 17
18Oops! What is ‘HEAD’ in Git?
Oops! 19 Safe (revert is part of history) Unsafe (no recovery after reset)
Some other useful git commands git status git diff 20
When do things get fun? 21
Hands on with Git! Initialize a git repo Check it into your GitHub repo Create/modify a file Add, commit, push If you know how to do this, find someone who doesn’t and help them. 22