6

I tried to apply a patch using git am <my.patch, but it failed.

Now I'm getting this in Git Bash:

sashoalm@SASHOALM-PC /c/Workspace/MyProject (master|AM 1/1)

My prompt used to show:

sashoalm@SASHOALM-PC /c/Workspace/MyProject (master)

So something has been "left over" from the unsuccessful patch, how do I completely cancel it, and return to the old prompt?

sashoalm
  • 63,456
  • 96
  • 348
  • 677

1 Answers1

11

You can abort the process:

git am --abort
Mureinik
  • 252,575
  • 45
  • 248
  • 283