Skip to content

Instantly share code, notes, and snippets.

@huseyin
Forked from roktas/config
Created April 7, 2017 23:51
Show Gist options
  • Save huseyin/5034a1afded80d2588ca6f3c9a41860a to your computer and use it in GitHub Desktop.
Save huseyin/5034a1afded80d2588ca6f3c9a41860a to your computer and use it in GitHub Desktop.
Genel git config dosyası (~/.config/git/config)
[alias]
a = add
ap = add --patch
b = branch
c = commit
co = checkout
d = diff
f = fetch
la = log --graph --decorate --pretty=oneline --abbrev-commit --all
l = log --pretty=format:'%Cred%h%Creset - %<|(60)%C(bold)%s%Creset %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
m = merge
p = pull
pu = push
r = remote
s = status -s
amend = commit --amend --no-edit
ignored = ls-files --exclude-standard --ignored --others
undo = reset --soft HEAD^
[color]
ui = auto
branch = auto
diff = auto
interactive = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[diff]
renames = copies
[merge]
stat = true
[core]
editor = /usr/bin/vim
[hub]
protocol = https
[credential]
helper = /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment