Git
From Driscollwiki
Contents |
Working remote
- $ git-fetch
- Rebase changes: $ git-checkout master; git-rebase origin/master
- $ git-push
- Or as patches: $ git-format-patch origin/aster
Branching to work on new idea
- Create new local branch: $ git-checkout -b topic-name master
- Make commits to topic-name
- When you're reading to merge: $ git-checkout master
- Merge new branch: $ git-merge topic-name
- Delete the working branch: $ git-branch -d topic name
Garbarge collector
- Gets rid of unreferenced objects: $ git-gc
References
- Randal Schwartz GoogleTechTalk about using git: http://www.youtube.com/watch?v=8dhZ9BXQgc4

