wiki:GitCheatSheet

Version 2 (modified by Jiri Svoboda, 7 years ago) ( diff )

Ammending last commit

Git Cheat Sheet

Print default push/pull location

git remote -v

Unstage a staged file

git reset HEAD <file>

Revert file changes

git checkout -- <file>

Ammend the last commit

git commit --ammend
Note: See TracWiki for help on using the wiki.