Re: git stash push -u deletes untracked files

2018-04-02 Thread Thomas Gummerer
On 04/02, Hosam Aly Mahmoud wrote: > Hi, > > Using Git 2.16.3 on MacOS 10.13.3, running `git stash push > --include-untracked` deletes the untracked files specified in its > arguments and creates an empty stash commit. > > In the example below, I create a repository with a single file and a >

git stash push -u deletes untracked files

2018-04-02 Thread Hosam Aly Mahmoud
Hi, Using Git 2.16.3 on MacOS 10.13.3, running `git stash push --include-untracked` deletes the untracked files specified in its arguments and creates an empty stash commit. In the example below, I create a repository with a single file and a single commit. Then I create two untracked files and