On 31 Mar, 20:33, Jeffda <daniel.viviot...@gmail.com> wrote:
> Is it possible to revert a GIT repository to what it was right before
> a specific patch was applied? If so, is it possible to do so with just
> the patch's filename or the patch itself?

You can run:
 * git reset --soft commitid

to move HEAD to commitid and commits after commitid to stage (waiting
for commit)

or:
 * git reset --hard commitid

to move HEAD to commitid and discard commits after commitid

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to