GIT.WTF !?! Submit Article

Git is fucking hard: mistakes happen all the time, finding a solution is sometimes next to impossible.

Git documentation has this needle in the haystack problem, where finding a solution is not just messy but tiresome too unless you already know what you need.

So here are several of those tricky situations that you might find yourself in with simple ways to get out peacefully.

Written by Mandeep Singh in Mistakes Correction

How to revert pushed commit from repo?

Written by Mandeep Singh in Mistakes Correction

How to find the commit that broke something after a merge in git?

Written by Sahil Bhatacharya in Solving Mistories

How do I delete a git branch locally and remotely?

Written by Mandeep Singh in Mistakes Correction

How to remove a file or directory from git without deleting it from your working directory?

Written by Mandeep Singh in Solving Mistories

How to avoid repeated merge conflicts?

Want to Contribute?

Send me an Email, ping me on Twitter or submit a pull request on Github.

Written by Mandeep Singh in Mistakes Correction

How to discard local modifications in git?

Written by Mandeep Singh in Solving Mistories

How to stage changes one by one after review in git?

Written by Mandeep Singh in Solving Mistories

How to checkout to a remote branch that someone else is working on in git?

Written by Mandeep Singh in Solving Mistories

How to stop password prompts on any git command in macOS?

Written by Mandeep Singh in Solving Mistories

How to remove staged changes from git?

Sign up below to receive updates, tips and more handy tutorials when git screws up. It’s good stuff & I don’t spam.

A PRODUCT BY KHURAFAT