Re: [BUG?] After 'git checkout', files deleted upstream are left in the working directory as untracked
Show 25 quoted lines
> Le 11 oct. 2020 à 02:58, Johannes Sixt <j6t@kdbg.org> a écrit :
>
> Am 10.10.20 um 18:43 schrieb Philippe Blain:
>> The thing is, I can't reproduce it on a fresh clone. If I could, this would be a reproducer:
>>
>> ```
>> $ git clone git@github.com:phil-blain/git.git && cd git
>> $ git checkout stale-branch
>> $ git checkout other-branch
>> $ git status # the following is what is shown in my old clone
>> On branch other-branch
>> Untracked files:
>> (use "git add <file>..." to include in what will be committed)
>>
>> git-legacy-stash
>> git-remote-testsvn
>> t/helper/test-line-buffer
>> t/helper/test-svn-fe
>>
>> nothing added to commit but untracked files present (use "git add" to track)
>> ```
>
> This is normal. These 4 files are build products and were never
> committed files. They had been mentioned in .gitignore in the past, but
> are not anymore.
Oops, I should've checked that. Thanks for answering!
Philippe.