Upload
thomasbennett
View
46
Download
0
Tags:
Embed Size (px)
Citation preview
Terms• commit - group of saved modifications
• remote - object which exists in a remote repository
• stash - unit of uncommitted changes
• tags - pointer to a specific commit in a specific branch
• can mark versions / milestones
Terms
• push - upload changes made on the local repository to a remote repo / branch
• pull - download changes from a remote repo / branch to a local branch
Common Actions• Check status
• Add changes to staging area
• Stash changes
• Commit staged changes
• Push commits
Well, actually…1. Create / Clone / Merge
2. Create new feature / issue branch
3. Make some changes
4. Stage & commit changes
5. Go back to 3
6. Submit for code review / Merge / Push
7. Go to 1
Resources
• Github.gitignore files
• Git Cheat Sheet
• GUI
• SourceTree, GitHub, Tower, etc.
Learn More
• Interactive tutorial
• Pro Git ebook
• Introduction to Git with Scott Chacon of GitHub