Skip to content

Instantly share code, notes, and snippets.

@victoraguilarc
Last active December 23, 2015 07:59
Show Gist options
  • Save victoraguilarc/6604745 to your computer and use it in GitHub Desktop.
Save victoraguilarc/6604745 to your computer and use it in GitHub Desktop.
My git configuration file
[user]
email = jvacx.log@gmail.com
name = Victor Aguilar Cusicanqui
[core]
editor = nano
autocrlf = input
[alias]
ci = commit
co = checkout
st = status
serve = !git daemon --reuseaddr --verbose --base-path=. --export-all ./.git --enable=receive-pack
branches = branch -a
; Refuse to merge and exit with a non-zero status
; unless the current HEAD is already up-to-date
; or the merge can be resolved as a fast-forward.
pull = pull --ff-only
update = merge --ff-only
join = merge --no-ff
; Mercurial flavor
addremove = !git add . && git add -u
[color]
ui = true
branch = auto
diff = auto
status = auto
interactive = auto
[merge]
summary = true
[push]
default = current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment