How to undo the previous code by Gitbash !!? #2754
Answered
by
anhducokok
Yuukicoder
asked this question in
Q&A
-
I had a bug when I updated the new code, and now I want to undo the previous code. What is the command in GitBash? |
Beta Was this translation helpful? Give feedback.
Answered by
anhducokok
May 21, 2024
Replies: 1 comment
-
To undo the previous commit in Git, you can use the git revert or git reset commands depending on your needs. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Yuukicoder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To undo the previous commit in Git, you can use the git revert or git reset commands depending on your needs.