User Tools

Site Tools


git:git_chectsheet

This is an old revision of the document!


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.

git/git_chectsheet.1312186829.txt.gz ยท Last modified: 2011/08/01 10:20 by deva