Some Git Tips!

Cache Password

git config --global credential.helper 'cache --timeout=360000000'

Reset all commits from local

git reset --hard @{u}

Undo last commit

git reset HEAD~

Written on March 17, 2021