Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

git how to uncommit a commit --amend

namesaq answered on July 24, 2020 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers

  • how to uncommit my last commit in git
  • How to rename a commit ?
  • git revert uncommitted changes
  • git uncommit local and keep changes
  • uncommit committed files git
  • amend last commit message
  • git uncommit last commit but keep changes
  • git remove all uncommitted changes
  • git check for uncommitted changes
  • git amend last commit message
  • uncommit last commit
  • uncommit git
  • git uncommit
  • remove commit github
  • how to remove initial commit git
  • how to uncommit the last commit in git
  • git remove commit
  • git uncommit
  • uncommit local commit
  • how to remove commit in git
  • uncommit local commit
  • how to delete one commit in git
  • uncommit the last commit
  • remove commit from PR
  • uncommit local commit
  • delete commits git
  • revert uncommitted changes git
  • uncommit local commit
  • show uncommitted changes git

  • git how to uncommit a commit --amend

    0

    What you need to do is to create a new commit with the same details as the current HEAD commit, but with the parent as the previous version of HEAD. git reset --soft will move the branch pointer so that the next commit happens on top of a different commit from where the current branch head is now.

    https://stackoverflow.com/questions/1459150/how-to-undo-git-commit-amend-done-instead-of-git-commit

    Popularity 3/10 Helpfulness 1/10 Language shell
    Source: Grepper
    Tags: commit git shell
    Link to this answer
    Share Copy Link
    Contributed on Apr 13 2024
    namesaq
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    17
    Popularity 10/10 Helpfulness 10/10 Language shell
    Tags: git
    Link to this answer
    Share Copy Link
    Contributed on Jul 24 2020
    Perfect Pony
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.