Hacker News new | ask | show | jobs
by Gipetto 1966 days ago
Git aliases to the rescue:

    pr !open "$(git remote -v | grep origin | grep push | cut -f 2 | cut -d " " -f 1 | sed -e "s|git@\(.*\):\(.*\).git|https://\1/\2|")/pull/new/$(git rev-parse --abbrev-ref HEAD)"