# Aborting a merge will delete new files added

1 messages from 2017-12-01 to 2017-12-01. Participants: Pärham FH.
Thread: https://gitlist.dev/t/47359

## Pärham FH, 2017-12-01 11:58

Subject: Aborting a merge will delete new files added
Message-ID: <CAM-FauOP_FG=N=npVhuKdiYATDAGxeP+q+qud3-X3g99=g_mBQ@mail.gmail.com>
URL: https://gitlist.dev/e/CAM-FauOP_FG%3DN%3DnpVhuKdiYATDAGxeP%2Bq%2Bqud3-X3g99%3Dg_mBQ%40mail.gmail.com

```
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

```
