Last active
February 18, 2019 09:00
-
-
Save tripu/f011973848473905109c3c351cbde810 to your computer and use it in GitHub Desktop.
Git config file
This file contains hidden or 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] | |
ap = add -p | |
br = branch | |
cf = config | |
ci = commit | |
co = checkout | |
df = diff | |
lg = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
pl = pull | |
ps = push | |
re = remote | |
sh = stash | |
st = status | |
[commit] | |
gpgsign = true | |
[core] | |
editor = emacs -nw | |
excludesFile = ~/.gitignore | |
[credential] | |
helper = cache --timeout=86400 | |
[gpg] | |
program = gpg2 | |
[push] | |
gpgsign = false | |
[user] | |
email = <YOUR_EMAIL_ADDRESS> | |
name = <YOUR_USERNAME> | |
signingkey = <YOUR_KEY_ID> |
Mine: https://github.com/nobuti/dotfiles/blob/master/gitconfig
[rebase] autoStash = true
is a lifesaver for me, to be able to make a pull without commit the current changes... gold!
Interesting, thank you!
I tend to do that manually when I really want to pull but I have local changes.
This might be quicker.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mine: https://github.com/nobuti/dotfiles/blob/master/gitconfig
is a lifesaver for me, to be able to make a pull without commit the current changes... gold!