Git
From Attie's Wiki
(Difference between revisions)
m |
m |
||
Line 3: | Line 3: | ||
{| | {| | ||
|- | |- | ||
− | ! command | + | ! command !! description |
− | ! description | + | |
|- | |- | ||
− | | 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 | + | | git pull || pulls any new revisions from the original path |
− | | pulls any new revisions from the original path | + | |
|- | |- | ||
− | | git push | + | | git push || pushes local revisions to the original path |
− | | pushes local revisions to the original path | + | |
|- | |- | ||
− | | git tag | + | | git tag || lists the avaliable tags |
− | | lists the avaliable tags | + | |
|- | |- | ||
− | | git checkout ''<tag>'' | + | | git checkout ''<tag>'' || changes the working copy to the tag specified |
− | | changes the working copy to the tag specified | + | |
|} | |} |
Revision as of 14:07, 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 |