Git sheet
hi everybody,
Here some simple git commands.
Its a nice tool but you have to type everything in command lines.
git clone git@github.com:addres/project.git myfolder
git config --global user.name "YourAccount"
git config --global user.email myemail@mail.com
cd Auto-Song-Purchaser
git init
git remote add origin git@github.com:SanoZ/Auto-Song-Purchaser.git
git add README
git commit -m 'first commit'
git push origin master
git rm filename =>remove one file
//to update
git pull
//create a branch
git checkout -b name
git checkout => change of branch
git gitk -> gui (interface) tree
//put in memoire
git stash
git stash pop =>put back
git status
.gitignore =>file to ignore changes
git checkin -m "message" (same as push)
git merge BranchName => to update the branche
git branche -a =>show all branches
git mergetool =>to repair error
git reset HEAD
git diff --ignore-space-at-eol html/artist.php
git config --global core.autocrlf=true
http://www.sics.se/node/2108
git config --list shows your current configuration settings
My links http://www.kernel.org/pub/software/scm/git/docs/git-rm.html
http://www.mblondel.org/journal/2008/05/25/git-memo/
SanoZ