Top "Git-revert" questions

Revert changes of a commit in a Git repository

git revert <hash> not allowed due to a merge but no -m option was given

I am trying to revert to a certain 'hash' number in git, by using the 'revert' command. I am using …

git github revert git-revert
Git Branch newbie - How to reverse?

Not sure if this is a proper way to work with branches. I had this application on structure A. I …

git git-branch git-revert
Composer revert packages

I am building a new app in Symfony 2.1. I am using a lot of bundles pulled in using composer. A …

symfony git-revert vendors composer-php
Restore deleted file not staged in git

I accidentally removed the entire directory of my source code...with a nice rm -r. I know, really bad; but …

git git-checkout rm git-revert git-rm
Why is git revert telling me "bad revision" when I use a commit hash?

I am trying to revert to an earlier git commit but get the error "bad revision". Why? Here is a …

git git-commit git-revert
Git Revert a Revert for a Merge

I had a feature branch created, let's say feature/branch1 on github. I created a pull request for it and …

git github merge git-revert
Git: How to reset after merging?

I've merged a master branch from a friend's repository into my working directory into branch_a using: git pull my_…

git git-revert
How to revert the last 2 commits done on Git

I have a situation here where there are 2 commits done by another collaborator which seems to be the wrong files. …

git git-revert
error: Reverting is not possible because you have unmerged files

When trying to revert a specific commit in git, I'm getting this error: $ git revert aaaf93201a28a57d540d633…

git git-revert
how to finish reverting a commit, and how to revert a lot of commits

This has to be simple, but I can't find it in git-scm. I've been making a lot of small commits …

git revert git-revert