Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git merge --abort deletes unstaged files

From: Andreas Schwab <hidden>
Date: 2016-06-15 23:02:32

Junio C Hamano [off-list ref] writes:
On Mon, Sep 15, 2014 at 2:54 PM, Andreas Schwab [off-list ref] wrote:
quoted
Junio C Hamano [off-list ref] writes:
quoted
Andreas Schwab [off-list ref] writes:
quoted
André Hänsel [off-list ref] writes:
quoted
I ran git merge to merge a branch. There were some conflicted files.
Although they were automatically resolved by git rerere, I still had to add
them.
If you want them to be added automatically, set rerere.autoupdate=true.
I would have to caution against doing so without thinking, though.
In other words, it is OK if you are Andreas who knows what he is
doing, but it is not a very good advice to give to random newbies.
If you are used to doing "git add ." afterwards it can't be much worse.
The right response to such a user would be to teach "add -u",
That's actually what I meant above.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help