Is it possible to remove your last commit? If so, what team should I enter?
Answer 1, Authority 100%
To roll back the last local commit, use Git Reset
. To roll back the commit that you have tried to the server, use Git Revert
.
Is it possible to remove your last commit? If so, what team should I enter?
To roll back the last local commit, use Git Reset
. To roll back the commit that you have tried to the server, use Git Revert
.
Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.