Re: Untracked files when git status executed on a new folder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23/06, Víctor Martín Hernández wrote:
Hi all.
Today I've had an unexpected behaviour that I'm not sure if is a bug or
I'm not doing git best practices... (surely the latest...)
The sequence of actions is :

1. create a new subfolder of my local repository branch
2. cd to this new folder, and create a new file
3. execute git status from the new folder

Doing that, the new folder doesn't appear as untracked.

4. cd ..
5. git status
In this case, the new folder appears.

If I create a new folder on the same level that the new one created in
step 1, cd into it, and execute git status, the folder created in step 1
appears as untracked.


Can't reproduce on Git 2.4.4/Linux, which Git version and platform are you using?

--
Sincerely,
 Johannes Löthberg
 PGP Key ID: 0x50FB9B273A9D0BB5
 https://theos.kyriasis.com/~kyrias/

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]