You've screwed your team by committing, now what?
If you've ever accidentally committed to a project, not realizing there's some big bug in your code, you might feel like a big ass. We've all been there. Fortunately, Git has come to the rescue. Here are the magic words:
git revert -s <git commit id>
And poof, your screwup is gone and no need to sulk.
Written by Raja Cherukuri
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#