THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
git am --signoff < xyz-v1.patch |
If you get an error that says "Patch does not have a valid e-mail address." then the patch might have been created by doing git diff in which case you can apply the patch using
Code Block |
---|
patch -p1 < xyz-v1.patch
|
if the am operation failed you will also need to remove the .git/rebase-apply/ that gets created
7. If things go wrong (tests fail, you find some problem, etc), you can back out:
...