RE: How do you undo an add

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Tuesday, November 19th, 2024 at 02:13, Kristoffer Haugsbakk <kristofferhaugsbakk@xxxxxxxxxxxx> wrote:
> On Tue, Nov 19, 2024, at 00:20, rsbecker@xxxxxxxxxxxxx wrote:
> > On November 18, 2024 5:10 PM, A bughunter wrote: 
> > > ADD, ADD, ADD why cant they get that: ADD. ADD tracks files for commit. It's
> > > already been commit : push failed. Failed pushes piled up. I need them untracked.
> > > How do you undo an add ( many adds): simple question. Without deleting any files,
> > > to repush 1 by 1.
> > 
> > Once you have pushed an added file, your only option is filter-branch
> > to prune out the
> > invalid content.
> 
> git-filter-branch? Why not `git reset --hard` with `push --force-with-lease --force-if-includes`? Maybe I’m missing something.
Yes you are missing something "Without deleting any files," a bunch of irrelivent and wrong answers is SPAM because literacy is necessity for participating in any ML. 
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wnUEARYKACcFgmc8/AgJkKkWZTlQrvKZFiEEZlQIBcAycZ2lO9z2qRZlOVCu
8pkAAGtoAQCghq6jVJrxOy2d3LX80E5gfvBKRSdl/x5UERVdELIq0gD+IjmQ
dwe5xB0oFdnlMivj1EFpVEzFYMW2GO1oCkukKgE=
=2nFM
-----END PGP SIGNATURE-----

Attachment: publickey - A_bughunter@proton.me - 0x66540805.asc
Description: application/pgp-keys

Attachment: publickey - A_bughunter@proton.me - 0x66540805.asc.sig
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]

  Powered by Linux