Git
From Attie's Wiki
(Difference between revisions)
m |
m |
||
Line 8: | Line 8: | ||
| git clone ''<path>'' | | git clone ''<path>'' | ||
| retrieves the entire git repository to your local disk | | retrieves the entire git repository to your local disk | ||
+ | |- | ||
+ | | git pull | ||
+ | | pulls any new revisions from the original path | ||
+ | |- | ||
+ | | git push | ||
+ | | pushes local revisions to the original path | ||
+ | |- | ||
+ | | git tag | ||
+ | | lists the avaliable tags | ||
+ | |- | ||
+ | | git checkout ''<tag>'' | ||
+ | | changes the working copy to the tag specified | ||
|} | |} |
Revision as of 13:40, 30 September 2011
My git cheat sheet! See my svn cheat sheet
command | description |
---|---|
git clone <path> | retrieves the entire git repository to your local disk |
git pull | pulls any new revisions from the original path |
git push | pushes local revisions to the original path |
git tag | lists the avaliable tags |
git checkout <tag> | changes the working copy to the tag specified |