re: 15 Git Commands You May Not Know VIEW POST

FULL DISCUSSION
 

Fantastic article ... some of my favorite commands that I use a lot:

detailed overview of local/tracking branches:

git branch -avv

git fetch with "cleanup":

git fetch origin --prune

"git stash pop force":

git stash show -p | git apply -3 && git stash drop

git clone using your ssh key via the "git" protocol (particularly useful for private repos):

git clone git@github.com:somecompany/someprivaterepo

and this dev.to article is my go-to reference when I'm confused about 'rebase':

dev.to/maxwell_dev/the-git-rebase-...

code of conduct - report abuse