Gitting

General utilities

Store the credentials

git config credential.helper store

Remove Changes

Undo a Git merge that hasn't been pushed yet

git reset --hard HEAD~1

Reset all changed files

git reset --hard

Clean all files not tracked (-f force, -d directories)

git clean -fd


Last modified on: November 07, 2017