git:git_chectsheet
This is an old revision of the document!
Table of Contents
List current status (including changes) in repo
git status
List files in repo
git ls-files
List deleted files in repo
git ls-files -d
Undelete file
git checkout filename
Undelete all deleted files
git ls-files -d | xargs git checkout --
Mark conflict as resolved
filename
will have merge conflicts marked in the same way used in CVS.
git add filename
marks the conflict as resolved.
Turn off pager
git --no-pager [command]
Run
alias git='git --no-pager'
to disable it on all commands in the current shell.
Alternatively set core.pager =
in .gitconfig (it is set to the empty string.) to disable it entirely for that user.
git/git_chectsheet.1316677539.txt.gz ยท Last modified: 2011/09/22 09:45 by deva