Bodge-it Wiki
Advertisement

git help command


git init Create a repository in the current directory git clone url Clone a remote repository into a subdirectory


git add path Add file or files in directory recursively git rm path Remove file or directory from the working tree

     -f 	Force deletion of file(s) from disk

git mv path destination Move file or directory to new location

     -f 	Overwrite existing destination files

git checkout [rev] file Restore file from current branch or revision

     -f 	Overwrite uncommitted local changes 


git fetch [remote] Fetch changes from a remote repository git pull [remote] Fetch and merge changes from a remote repository

for assim; http://jonas.nitro.dk/git/quick-reference.html

Advertisement