Fantastic article ... some of my favorite commands that I use a lot:
git branch -avv
git fetch origin --prune
git stash show -p | git apply -3 && git stash drop
git clone git@github.com:somecompany/someprivaterepo
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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-...