Reverting Changes From Remote Git Repo

If you want to revert multiple changes So the solution is to create a new commit which reverts changes that you want to get rid of.

A <– B <– C <– D

$ git revert --no-commit D$ git revert --no-commit C
$ git revert --no-commit B
$ git commit -m'the commit message'

9 Şubat 2015

Posted In: commit, git, github, revert

WP Twitter Auto Publish Powered By :