I will be adding more useful Git tips, if you find this helpful I suggest bookmarking this page. 🔖

1. Rename a local branch

2. Change the upstream branch

3. Makes local branch same as remote

4. Delete the most recent commit, keeping the work you’ve done

5. Delete the most recent commit, destroying the work you’ve done

6. Stash your work

7. Recover stash by going into that branch and

8. Go back to a previous commit, undo a rebase

#git #github #programming-tips #github-actions

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