Confirmed users
962
edits
m (→Pushing) |
(Add git pushing info) |
||
Line 39: | Line 39: | ||
If the changeset is a merged Pull Request: | If the changeset is a merged Pull Request: | ||
git revert -m 1 12345ab | git revert -m 1 12345ab | ||
Use |git push| once finished. Git also supports |pull --rebase| and |commit --amend| with the same usage as given above for Mercurial. | |||
For reverting multiple git commits at the same time, see [http://stackoverflow.com/questions/1463340/revert-multiple-git-commits this StackOverflow] post. | For reverting multiple git commits at the same time, see [http://stackoverflow.com/questions/1463340/revert-multiple-git-commits this StackOverflow] post. |