Created
March 7, 2023 20:16
-
-
Save toastynerd/e030a048c350ec61adbe6b62ceaaa978 to your computer and use it in GitHub Desktop.
git aliasess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias rmorphans='git branch --merged| egrep -v "(^\*|main)" | xargs git branch -d' | |
alias gitbranchups='git branch --set-upstream-to=origin/$(git branch --show-current) $(git branch --show-current)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment