paint-brush
8 underrated Git commands every programmer should know (not the usual pull, push, add, commit)by@milindsoorya
289 reads

8 underrated Git commands every programmer should know (not the usual pull, push, add, commit)

by Milind SooryaMay 31st, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The Git command is used to rename a local branch and change the upstream branch to a new branch. This will help to recover from those stupid typos that creep into our commits. Use reflog command to find the head number of the required commit. Use stash to temporarily work on another branch without committing our current work. Recover stash by going into that branch and going into the stash list. If you want to recover stash and drop it from stash list use git stash pop. You can also recover stash from that branch using Git stash apply.
featured image - 8 underrated Git commands every programmer should know (not the usual pull, push, add, commit)
Milind Soorya HackerNoon profile picture
Milind Soorya

Milind Soorya

@milindsoorya

L O A D I N G
. . . comments & more!

About Author

Milind Soorya HackerNoon profile picture
Milind Soorya@milindsoorya

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