Follow our Git RSS feed for all blog posts regarding anything Git. Thanks for reading and we hope you enjoyed your visit. If you're looking for more articles use our search above or visit The Programmer blog for the latest and greatest.


Removing your latest commit from your local (or remote) Git repository is a common task when you've committed the wrong files and/or code. Here are a few short and sweet examples using Git that show how to undo a commit (without twelve paragraphs of theory explaining it).   Undo last commit from local Git repository Problem You just executed a git commit. You did not execute a git...

Read more