Merging with magit and ediff

The jerasure v2 branch is merged into the v2-ceph branch.



The v2-ceph branch is checked out and merged with m m which translates into

  1 /usr/bin/git --no-pager -c core.preloadindex=true \
      merge refs/remotes/jimplank/v2 --no-commit
Auto-merging .gitignore
CONFLICT (add/add): Merge conflict in .gitignore
Automatic merge failed; fix conflicts and then commit the result.

M-x magit-status shows the conflicting files.

Typing e on the Unmerged commit opens the ediff merge window.

Typing b or a choses which side of the conflict wins. The file can also be manually edited. After resolving the conflict, back to M-x magit-status and s on the Unmerge line will stage the result. Committing with c c prompts for a commit message prepared with the list of conflicting files and a relevant comment can be added explaining how the conflict was resolved.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>