Answer the question
In order to leave comments, you need to log in
How to push a SHA commit to git?
I moved to another commit in my branch (not the master) by SHA using the checkout command, changed everything as I need, now I want this particular commit to become the latest version, the current version of my branch, how can I do this?
Answer the question
In order to leave comments, you need to log in
In this case git checkout -b new-branch-name git push your changes can be checked out to the new branch and made to work on. In general, read the official dock, it has a lot of scripts.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question