'git commit .' in a subdirectory also commits staged files in other subdirectories

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

 



I had several staged files in various subdirectories of the cloned repository tree.

'git commit .' in one of them attempted to commit all of them, not only the files in that subdirectory.

This is a very unreasonable behavior, because while being in any subdirectory 'git commit .' should only affect that subdirectory, and not files elsewhere.


git-2.38.0

FreeBSD 13.1


Yuri




[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]

  Powered by Linux