How to revert pushed commit from repo?
Despite all the fixes you try, faulty commits do occasionally make it into the central repository. Still this is no reason to despair, since git offers an easy way to revert single or multiple commits.
Subscribe to receive updates, tips and more handy tutorials.
Despite all the fixes you try, faulty commits do occasionally make it into the central repository. Still this is no reason to despair, since git offers an easy way to revert single or multiple commits.
Git branches are important part of you daily development process, but once you or your team are finished with a feature and have merged it into your remote’s master branch, you would want to delete that branch from local repo as well as your remote.
There are several situations when you have to remove some part of your code from git history, doing so is very easy if you know these commands.
This is something I would recommend all developers to setup globally, you will love it and you won't even remeber it.
Everybody has it's own way of writing code and there are times when you try out a few ways of creating a functionality or fixing that nasty bug which turns out to be not so good way of doing it. You want to discard your current changes, you can do it quite easily by checking out the modified files.