re: Your favorite `git` aliases? VIEW POST

FULL DISCUSSION
 

alias gpc='git push --set-upstream origin "$(git-branch-current 2> /dev/null)"'

if you don't have anything, this would suffice alone. i always forget how to push my new branch to remote...

code of conduct - report abuse