emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: After a git merge and manual correction of a conflict, how do I tell


From: Steinar Bang
Subject: Re: After a git merge and manual correction of a conflict, how do I tell git the conflict is fixed?
Date: Wed, 27 May 2015 21:46:59 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (windows-nt)

>>>>> Alan Mackenzie <address@hidden>:

> I did a git stash, followed by git merge, followed by git stash pop.
> This caused a conflict in .gitignore, which I repaired by editing
> that file.

> I think (but I'm not sure), I need somehow to tell git that the file has
> been fixed.

 git add .gitignore

If that was the only conflict, then
 git commit
(just use the default message that will pop up in the editor you've set
 in the EDITOR environment variable)

After that, if you wish to immediately publish your merge:
 git push




reply via email to

[Prev in Thread] Current Thread [Next in Thread]