Created
August 16, 2019 12:04
-
-
Save hartmannr76/0325ecd1ef7e8aef3314f2f904d0deae to your computer and use it in GitHub Desktop.
Gitconfig
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 = "!f() { \ | |
open https://github.com/$(git config remote.origin.url | \ | |
sed -e 's/^https:\\/\\/github.com\\///' -e 's/.git$//')/compare/$(git rev-parse --abbrev-ref HEAD)?expand=1; \ | |
};f" | |
[core] | |
editor = code --wait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment