How to undo changes by git
This article mainly shows you "git how to undo changes", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "git how to undo changes" this article.
Undo the modification
Command function git checkout-b.txt 1: readme.txt has not been placed in the temporary storage area (git add) since it was modified. Now, undoing the modification will return to exactly the same state as the version library.
Second: after readme.txt has been added to the temporary storage area, it has been modified. Now, undoing the modification will return to the state after it was added to the temporary storage area.
The above is all the contents of the article "how to undo and modify git". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!