Tuesday 3 March 2009

Beginner Commands

Command to get help
1. $git help [command]

Commands to get started
1. $git init
2. $git add [.]
3. $git commit

Commands to survive
1. $git status
2. $git branch
3. $git checkout

Commands to boost you
1. $git reflog
...

Commands for branches
1. $git filter branch --tree-filter 'rm file' HEAD

No comments:

Post a Comment