How to recovery from a file accidentally committed twice?

Klaus Ethgen Klaus+mlvcsh at ethgen.de
Tue Aug 17 21:30:40 CEST 2021


Am Di den 17. Aug 2021 um 19:06 schrieb Marc Haber:
> one second of not paying attention did it, and I accidentally committed
> a file that is in one vcsh-repository, bin/foo to a second vcsh
> repository. Now both repos are fighting about that file. vcsh bar rm
> bin/foo just took the fight to another limit?
> 
> How do I recover, telling the wrong repository to completely forget about the file?

vcsh bar rm --cached bin/foo

Gruß
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus at Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 688 bytes
Desc: not available
URL: <http://lists.madduck.net/pipermail/vcs-home/attachments/20210817/44e33f3c/attachment.sig>


More information about the vcs-home mailing list