Bug: "git restore --staged" on a newly created repository

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

 



Tested on git version 2.27.0-rc1 (latest build from master branch on github) and 2.26.2
`git restore --staged file` on a newly created repository outputs error "fatal: could not resolve HEAD", but `git reset file` correctly unstages the file.



[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