![]() ![]() Thank you to Nathan for reviewing and providing valuable feedback on this post. The image below reflects an accurate commit log highlighting the moments I: You can double-check that you reverted the commit by viewing the repo's commit history on. After running this command, you’ve successfully reverted your commit. Now that you’ve exited the terminal, you can finalize the process by running the command git push. Learn more about exiting this mode in this Stackoverflow answer. If you’re seeing this message in your terminal via Vim, you can use the command :wq If this file opens in your IDE, you can just close the file at the top. The goal for you is to review it and close the commit editor. It includes information about the commit that you’re reverting, including the author, the branch, the file, and the message. This is called a COMMIT_EDITMSG it holds a commit message of a commit in progress. You may see a message similar to the image below. You can learn more about git revisions here or on the git scm documentation. You can use any value that is considered a gitrevision, including the:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |