1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 17:25:23 +02:00
dotfiles/git/gitconfig

91 lines
2.4 KiB
Text
Raw Normal View History

2013-05-02 23:38:00 +02:00
################################################################################
# .gitconfig -- my personal GIT configuration
# see https://github.com/hcartiaux/dotfiles
2013-05-02 23:38:00 +02:00
#
# Copyright (c) 2010 Sebastien Varrette <Sebastien.Varrette@uni.lu>
#
# Copyright (c) 2011 Hyacinthe Cartiaux <hyacinthe.cartiaux@uni.lu>
# _ _ __ _
# __ _(_) |_ ___ ___ _ __ / _(_) __ _
# / _` | | __/ __/ _ \| '_ \| |_| |/ _` |
# | (_| | | || (_| (_) | | | | _| | (_| |
# (_)__, |_|\__\___\___/|_| |_|_| |_|\__, |
# |___/ |___/
#
################################################################################
# Resources:
# - http://stackoverflow.com/questions/267761/what-does-your-gitconfig-contain
# - https://github.com/Falkor/dotfiles
2013-05-02 23:38:00 +02:00
[user]
name = Hyacinthe Cartiaux
email = hyacinthe.cartiaux@uni.lu
signingkey = 0x550DF40B
[alias]
up = pull origin
pu = push origin
st = status
df = diff
# ci = commit -S
ci = commit
br = branch
w = whatchanged --abbrev-commit
ls = ls-files
gr = log --graph --oneline --decorate
2016-03-11 15:19:08 +01:00
lol = log --graph --pretty=format:'%C(yellow)%h%Creset%C(cyan)%C(bold)%d%Creset %C(cyan)(%cd)%Creset %C(green)%cn%Creset %s' --date=format:'%Y-%m-%d %H:%M:%S'
2013-07-19 15:04:48 +02:00
unstage = reset HEAD --
last = log -1 HEAD
amend = commit --amend
undo-commit = reset --soft HEAD^
2013-05-02 23:38:00 +02:00
# From http://j.shirley.im/tech/git-flow/
2013-07-19 15:04:48 +02:00
feature-start = !git flow feature start $1
2013-05-02 23:38:00 +02:00
feature-finish = !git flow feature finish $1 && git push
# fs, feature start
fs = !git flow feature start $1 && grb publish feature/$1
# ff, feature finish. Always push to the final branch (remote)
# if it was successful
ff = !git flow feature finish $1 && git push
[color]
ui = true
diff = auto
status = auto
branch = auto
[color "branch"]
current = yellow reverse
local = green
remote = red
[color "diff"]
meta = yellow bold
[color "status"]
2014-03-15 16:50:09 +01:00
added = magenta bold
changed = green
2013-05-02 23:38:00 +02:00
untracked = red
[core]
autocrlf = false
pager = less -FiRSwX
editor = vim
mergeoptions = --no-edit
2013-05-02 23:38:00 +02:00
[merge]
tool = vimdiff
2016-01-06 15:01:42 +01:00
conflictstyle = diff3
[mergetool]
prompt = false
2013-05-02 23:38:00 +02:00
[http]
sslverify = false
[push]
default = matching
2013-10-31 10:38:03 +01:00
2016-08-23 17:04:47 +02:00
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true