Can You Restore A Deleted Commit on Git?by@dkhmelenko
3,949 reads
3,949 reads

Can You Restore A Deleted Commit on Git?

by Dmytro Khmelenko3mJune 23rd, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The most typical git-flow would be: create a new branch, write some code, commit and push changes to the remote repository. But as human beings, we tend to make mistakes. Can you restore a deleted commit on Git? Can You Restore A Deleted Commit on Git?" Dmytro Khmelenko: Can You restore that commit with the command. The lost commit is back with all necessary changes as nothing changed. Voilà! The most common command is git reflog (stands for reference log)

Coin Mentioned

Mention Thumbnail
featured image - Can You Restore A Deleted Commit on Git?
Dmytro Khmelenko HackerNoon profile picture
Dmytro Khmelenko

Dmytro Khmelenko

@dkhmelenko

Software Engineering | Cloud | Mobile

About @dkhmelenko
LEARN MORE ABOUT @DKHMELENKO'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Dmytro Khmelenko HackerNoon profile picture
Dmytro Khmelenko@dkhmelenko
Software Engineering | Cloud | Mobile

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
L O A D I N G
. . . comments & more!