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

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

by Milind Soorya2mMay 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

Hey 👋 I am Milind Soorya. I'm interested in Data Science and web development.

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

About Author

Milind Soorya HackerNoon profile picture
Milind Soorya@milindsoorya
Hey 👋 I am Milind Soorya. I'm interested in Data Science and web development.

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
Also published here