All of lore.kernel.org
 help / color / mirror / Atom feed
From: <rsbecker@nexbridge.com>
To: "'A bughunter'" <A_bughunter@proton.me>, <git@vger.kernel.org>
Subject: RE: How do you undo an add
Date: Mon, 18 Nov 2024 18:20:41 -0500	[thread overview]
Message-ID: <022f01db3a10$7fe28140$7fa783c0$@nexbridge.com> (raw)
In-Reply-To: <MBCJkxhVnx5AhlKkq15aTn5FYI6cG-wdqqwQ84mVH9zjf-YehSrRWPgd-UwdTMrYhS2Sgofbyn2bS7iMlANyyYf_Z6b6_e3FH0hRm5VYciU=@proton.me>

On November 18, 2024 5:10 PM, A bughunter wrote:
>BROAD OVERVIEW
>
>bugreport[A], question[B] and use-case[C]. These are all related but separate
>threads for the purposes as labled. Please do not cross-post or cross-quote. Focus
>on productivity and solving these. You are welcomed to view and participate in all of
>these as I contribute more.
>
>use-case[C] - git question (short) rephrase with use-case added.
>
>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.

Prior to push, before commit, you can use reset HEAD.

Following a commit, you can use reset --HARD to move the branch head back to a
Commit where the add did not happen.

If I did not understand your situation, I apologize.

>I suspect the answer is: "you can't - git provides no means to do so" - a defect, bug
>as we call it. The answer to this use-case question likely will confirm my bugreport
>and I get the feeling this is why they will not answer the question they do not want
>to accept my bugreport and have a bad spirit to argue. The excuses they give for this
>will be that it is not typical: This can normally be solved by repushing. However it is
>still a defect and in my use-case there is a slow or intermittent connection and no
>sha-backups yet because this is the initial creation of a repo.
>
>The above question is a use-case[C] seeking how to undo without deleting files.
>There shouldn't be any need to know a use-case in order to answer a technical
>question. I am open to discuss my use-case on this thread. The use-case if of this
>repo github.com/freedom-foundation/kjbible
>
>My original bug report is that the user " may be cornered into delete files"
>bugreport[A] Summary as of 20241117 brian does not believe it's a bug and begins
>chattering to Peff about how to fix the bug "There are Git-level keepalives during the
>similar compression operation".
>
>The full question[B] which is a child of the bugreport[A] is here. Summary as of
>20241117 my question was mostly sidestepped and spammed whilst the thread
>devolved into a political drama about code_of_conduct. I am not open to discuss
>my use-case on this thread.



  reply	other threads:[~2024-11-18 23:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-17 11:24 How do you undo an add A bughunter
2024-11-18 22:09 ` A bughunter
2024-11-18 23:20   ` rsbecker [this message]
2024-11-19  8:13     ` Kristoffer Haugsbakk
     [not found]       ` <89DnJJL6nbYjQW9N8CtejlqbnzPDiH7iKd-3zKFY8oQezk1rRYbjH5WkKdrVPYPQQsKPhMpd3IcBet7ZBD4U3HSSoXk6rVXIMWPaG4hAj1g=@proton.me>
2024-11-19 20:49         ` A bughunter
2024-11-19 19:54     ` A bughunter
2024-11-19 20:58     ` A bughunter
2024-11-19 21:31       ` rsbecker
2024-11-20  0:02       ` Konstantin Ryabitsev
2024-11-20 20:01 ` A bughunter
2024-12-05 21:03   ` A bughunter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='022f01db3a10$7fe28140$7fa783c0$@nexbridge.com' \
    --to=rsbecker@nexbridge.com \
    --cc=A_bughunter@proton.me \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.