Compdigitec Labs

« | Home | »

When git am fails, use 3way

By admin | July 3, 2012

git am 0001-Very-valuable-piece-of-art.patch

Applying: Very valuable piece of art
error: patch failed: Apple.java:212
error: Apple.java: patch does not apply
error: patch failed: Window.java:840
error: Window.java: patch does not apply
Patch failed at 0001 Very valuable piece of art
When you have resolved this problem run “git am –resolved”.
If you would prefer to skip this patch, instead run “git am –skip”.
To restore the original branch and stop patching run “git am –abort”.

What to do? –3way to the rescue!

git am --3way

Applying: Very valuable piece of art
Using index info to reconstruct a base tree…
Falling back to patching base and 3-way merge…
Auto-merging Apple.java
Auto-merging Window.java

Smooth.

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: Linux | 3 Comments »

3 Responses to “When git am fails, use 3way”

  1. W88 เว็บพนันออนไลน์ส่งตรงจากฟิลิปปินส์ Says:
    November 12th, 2024 at 20:57

    … [Trackback]

    […] Find More here to that Topic: compdigitec.com/labs/2012/07/03/when-git-am-fails-use-3way/ […]

  2. sci/sci news/news sci/ science diyala Says:
    November 13th, 2024 at 11:23

    … [Trackback]

    […] Read More on on that Topic: compdigitec.com/labs/2012/07/03/when-git-am-fails-use-3way/ […]

  3. อินเตอร์เน็ตทรู Says:
    November 21st, 2024 at 01:22

    … [Trackback]

    […] Find More Info here to that Topic: compdigitec.com/labs/2012/07/03/when-git-am-fails-use-3way/ […]

Comments