Last active
May 15, 2019 02:59
-
-
Save jstuckey/5879808 to your computer and use it in GitHub Desktop.
My ~/.gitconfig file. Sets svn style shortcuts, turns on color, sets the default editor, sets user.
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] | |
st = status . -sb | |
ci = commit | |
co = checkout | |
br = branch | |
cb = rev-parse --abbrev-ref HEAD | |
conflicts = diff --name-only --diff-filter=U | |
recent = "!git for-each-ref --sort=-committerdate refs/heads/ | sed s/.*refs\\\\/heads\\\\/// | head" | |
[color] | |
ui = 1 | |
[core] | |
editor = <preferred_editor> | |
[user] | |
name = <user_name> | |
email = <user_email> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment