Hacker News new | ask | show | jobs
by windmark 1902 days ago
I have the following alias which simply parses the branch name and passes with carts

  alias gpsu='git rev-parse --abbrev-ref HEAD | xargs git push --set-upstream origin'