threads / discuss / 47359

Aborting a merge will delete new files added

Subject: Aborting a merge will delete new files added

## tl;dr

One message between Dec 1, 2017 and Dec 1, 2017.

replies: 0people: 1as markdown or json

Pärham FH· Dec 1, 2017, 11:58 UTC · lore
Hi!

While sorting out a merge conflict I accidentally added an untracked folder to the index. Later I decided to abort the merge with `git merge --abort` and I expected it to unstage the untracked file but it instead removed it. This was not what I expected.

Cheers, Pärham

← back to recent threads