paint-brush
Reset, Revert and Checkout in Gitby@kolosek
2,445 reads
2,445 reads

Reset, Revert and Checkout in Git

by Nesha4mMarch 6th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Git toolbox provides multiple tools for fixing up mistakes during your development. Commands such as reset, reset and reset can be used to manipulate either commits or individual files. There are many different ways you can undo your changes, it all depends on the current scenario. Selecting an appropriate method depends on whether or not you have committed the change by mistake, and if you've committed it, whether you have shared it or not. Git forces you to commit or stash changes in the working directory that will be lost during the checkout operation.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Reset, Revert and Checkout in Git
Nesha HackerNoon profile picture
Nesha

Nesha

@kolosek

CEO @ Kolosek.com

About @kolosek
LEARN MORE ABOUT @KOLOSEK'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Nesha HackerNoon profile picture
Nesha@kolosek
CEO @ Kolosek.com

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite