Getting Git
-
Upload
jason-mccreary -
Category
Technology
-
view
240 -
download
0
Transcript of Getting Git
Getting Gitby JMac
4 - 50 Minute Sessions
❖ Session 1: Basics
❖ Session 2: Managing Change
❖ Session 3: Sharing Code
❖ Session 4: Everyday Git
Git Terminology
❖ repository or repo
❖ commit
❖ SHA or hash
❖ HEAD
❖ tree or history
Git Terminology
commit
tree
c45fb1e
7df5edb
f88d321
be584f3
HEAD
Session 1: Basics
❖ Creating a Git Repository
❖ Checking the status
❖ Adding Files
❖ Making Commits
❖ Removing files
❖ Viewing Changes
Download Git
❖ Unix-based systems should already have Git installed. If not, use your package manager to do so.
❖ Windows systems should download Git for Windows - https://git-for-windows.github.io
❖ Mac OS X systems you’re good to go!
Session 1: Lab
Session 2: Managing Change
❖ Branching
❖ Merging
❖ Rebasing
❖ Cherry-picking
❖ Stashing
Session 2: Lab
❖ GitHub
❖ Remotes
❖ Cloning
❖ Pushing
❖ Pulling
Session 3: Sharing Code
Create a GitHub account
Session 3: Lab
Session 4: Everyday Git
❖ Using .gitignore
❖ Checking out old files
❖ Reverting changes
❖ Whoops, I messed up my working copy
❖ Whoops, I just lost my changes
Session 4: Lab
Resources
❖ “Pro Git”
❖ “GitHub Flow”
❖ “How to write a good commit message”
❖ StackOverflow
❖ Louisville Software Engineering Meetup
❖ Me on Twitter - @gonedark