Last active
June 20, 2020 20:52
-
-
Save antonkomarev/11bb72836a6f2ca8f100ba079d09e9ca to your computer and use it in GitHub Desktop.
Git configuration
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
[core] | |
excludesfile = ~/.gitignore | |
[alias] | |
current-hash = "rev-parse HEAD" | |
current-branch = "rev-parse --abbrev-ref HEAD" | |
clean-up = "!git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D" | |
go = "!git checkout ${1:-master} && git pull && git clean-up" |
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
.idea/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment