From: Kelvin White <kwhite@gnu.org>
To: Alan Mackenzie <acm@muc.de>, emacs-devel@gnu.org
Subject: Re: After a git merge and manual correction of a conflict, how do I tell git the conflict is fixed?
Date: Tue, 26 May 2015 22:44:30 +0000 [thread overview]
Message-ID: <CAG-q9=bR=9NiQ3agPqw9X5Snd75BsSdOvNFmuFLGKw0JEZYzfg@mail.gmail.com> (raw)
In-Reply-To: <20150526223928.GA4675@acm.fritz.box>
[-- Attachment #1: Type: text/plain, Size: 1810 bytes --]
Fix the file then git add it && git commit it to show git it is resolved
On Tue, May 26, 2015, 6:39 PM Alan Mackenzie <acm@muc.de> wrote:
> Hello, Emacs
>
> It's git misery time again. :-(
>
> 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. The git equivalent of 'bzr resolve'. I can't find any
> documentation telling me how to do this, or alternatively that it's not
> needed.
>
> git status returns the following obscure "information":
>
> On branch master
> Your branch is up-to-date with 'origin/master'.
> Unmerged paths:
> (use "git reset HEAD <file>..." to unstage)
> (use "git add <file>..." to mark resolution)
>
> both modified: .gitignore
>
> . I don't think I want to "unstage" anything (whatever that might
> mean) - IIUC, the suggested recipe would discard all my changes. I think
> I might want to "mark resolution" (assuming this gobbledegook means
> "mark <file> as resolved"), but the suggested recipe, as far as I am
> aware, doesn't "mark resolution", instead it moves a file into a list of
> files to be committed in the (?near) future.
>
> Do I actually need to tell git that the merge conflicts in .gitignore
> have been fixed? If so, how do I do this? There doesn't appear to be a
> 'git resolve' command.
>
> Where is this 'bzr resolve' equivalent documented? I now have git
> 2.3.6, and it now comes with an info manual, and all its man pages
> stuffed into another info document, which is a great improvement. I
> still can't find what I need, though.
>
> Thanks in advance for the help.
>
> --
> Alan Mackenzie (Nuremberg, Germany).
>
>
>
[-- Attachment #2: Type: text/html, Size: 2355 bytes --]
next prev parent reply other threads:[~2015-05-26 22:44 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-26 22:39 After a git merge and manual correction of a conflict, how do I tell git the conflict is fixed? Alan Mackenzie
2015-05-26 22:43 ` Dmitry Gutov
2015-05-26 22:48 ` Kelvin White
2015-05-26 22:56 ` Alan Mackenzie
2015-05-26 23:05 ` Dmitry Gutov
2015-05-26 23:11 ` Kelvin White
2015-05-26 23:14 ` Kelvin White
[not found] ` <CAG-q9=aSF+6AcR1SHRgCTQLUrKXB5OEzPcbuV8M5+VEacxZc0g@mail.gmail.com>
2015-05-26 23:19 ` Kelvin White
2015-05-27 0:18 ` Tom Jakubowski
2015-05-27 2:38 ` Eli Zaretskii
2015-05-27 8:17 ` Andreas Schwab
2015-05-27 19:53 ` Steinar Bang
2015-05-28 5:27 ` Yuri Khan
2015-05-26 22:44 ` Kelvin White [this message]
2015-05-26 23:31 ` Artur Malabarba
2015-05-27 0:21 ` Kelvin White
2015-05-27 0:29 ` Dmitry Gutov
2015-05-27 0:36 ` Kelvin White
2015-05-27 0:38 ` Dmitry Gutov
2015-05-27 0:45 ` Kelvin White
2015-05-27 0:56 ` Dmitry Gutov
2015-05-27 1:55 ` Kelvin White
2015-05-27 1:57 ` Kelvin White
2015-05-27 2:02 ` Dmitry Gutov
2015-05-27 2:23 ` Kelvin White
2015-05-27 0:56 ` Kelvin White
2015-05-27 1:02 ` Dmitry Gutov
2015-05-27 1:40 ` Stefan Monnier
2015-05-27 1:52 ` Kelvin White
2015-05-27 2:40 ` Stefan Monnier
2015-05-27 2:55 ` Kelvin White
2015-05-27 3:14 ` Kelvin White
2015-05-27 3:16 ` Kelvin White
2015-05-27 10:12 ` Dmitry Gutov
2015-05-27 11:26 ` Kelvin White
2015-05-27 11:34 ` Dmitry Gutov
2015-05-27 12:36 ` Kelvin White
2015-05-27 12:48 ` Dmitry Gutov
2015-05-28 6:30 ` Steinar Bang
2015-05-27 2:37 ` Eli Zaretskii
2015-05-27 15:47 ` Alan Mackenzie
2015-05-27 19:46 ` Steinar Bang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAG-q9=bR=9NiQ3agPqw9X5Snd75BsSdOvNFmuFLGKw0JEZYzfg@mail.gmail.com' \
--to=kwhite@gnu.org \
--cc=acm@muc.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.