marcandrewb
2/23/2016 - 4:15 PM

Git Cheats

Git Cheats

###Quick Vi Commands

k - up j - down h - left l - right

i - insert mode ESC - leave mode :wq - save and quit :q! - cancel and quit

git add *.txt

Add all txt files in current directory

git add docs/*.txt

Add all txt files in docs directory

git add docs/

Add all files in docs directory

git add "*.txt" 

Add all txt files in whole project