Last active
August 10, 2023 19:10
-
-
Save cosmicbuffalo/1aec0b3eb0947de1b567593566d2bc6a to your computer and use it in GitHub Desktop.
quick open new pr alias
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 pr='open "https://github.com/$(git remote get-url origin | sed -E "s/.*:(.+)\/(.+).git/\1\/\2/")/pull/new/$(git rev-parse --abbrev-ref HEAD)"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment