This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cs:git:start [2016/08/23 14:24] James Irwin [Introduction] |
cs:git:start [2016/09/02 13:26] Brandon Kallaher [Getting Started] |
||
---|---|---|---|
Line 6: | Line 6: | ||
===== Getting Started ===== | ===== Getting Started ===== | ||
- | I highly recommend you start out by going over our intro tutorial to git, which describes a few high-level concepts that are important to understand before you start using git. For reference, you can find the official git documentation [[https://git-scm.com/doc|here]]. | + | I highly recommend you start out by going over our intro tutorial to git, which describes a few high-level concepts that are important to understand before you start using git. For reference, you can find the official git documentation [[https://git-scm.com/doc|here]]. An interactive tool for learning Git is [[http://try.github.io|Try Git]]. |
Line 56: | Line 56: | ||
===== Quick reference ===== | ===== Quick reference ===== | ||
* ''git fetch'' retrieve the latest changes from the server | * ''git fetch'' retrieve the latest changes from the server | ||
- | * ''git rebase <other branch>'' rebase your current branch on top of \<other branch>, which typically should be dev. | + | * ''git rebase <other branch>'' rebase your current branch on top of <other branch>, which typically should be dev. |
- | * ''git checkout <file/directory name>'' reset all unstaged changes to \<file/directory name> | + | * ''git checkout <file/directory name>'' reset all unstaged changes to <file/directory name> |