Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
JamesSwift
3y ago
0 comments
Save
Share
I just added an alias
alias gpush='git push --set-upstream origin $( git branch --show-current )'
0 comments
1 comments · 1 top-level
top
newest
oldest
LadyCailin
3y ago
`git push -u origin HEAD` also works!
j
/
k
navigate · click thread line to collapse