Git: Uncommit revision but keep changes

After accidentally committing some stuff to the git repository, I had some trouble finding a way to "uncommit". Luckily a few notes on the net pointed towards the reset command.

git reset HEAD^

This will leave your changes intact, but bump down the revision of your branch.

[ Source ]

Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog