us6wra
Last Updated: February 25, 2016
·
569
· bionix
5e11cae5b704a7ce4d4de114d5a82a8d

my personal git config

[core]
    excludesfile = ~/.gitignore
    autocrlf = input
    editor = /usr/bin/vim
[color]
    ui = auto
[color "branch"]
    current = red
    remote = green
[color "diff"]
    meta = yellow bold
    frag = magenta bold
    old = red bold
    new = green bold
[color "status"]
    added = yellow
    changed = green
    untracked = cyan
[alias]
    st = status
    df = diff
    ci = commit
    co = checkout
    br = branch
    cp = cherry-pick
    cps = cherry-pick -s
    slog = log --pretty=oneline --abbrev-commit
    glog = log --graph --decorate --pretty=oneline --abbrev-commit
    gloga = log --graph --decorate --pretty=oneline --abbrev-commit --all
    unci = reset HEAD^
    uncommit = reset HEAD^
    ls = ls-files
    out = log HEAD..origin
    killbranches = !git branch | grep -v master | xargs git branch -d 2> /dev/null
    nm = branch --no-merged
    lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
    lga = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all
    pom = push origin master
    ppm = push production  master
    lom = pull origin master
    fom = fetch origin master
[instaweb]
    httpd=webrick
[push]
    default=current
#default=matching
[cola]
    fontdiff = Terminus,9,-1,5,50,0,0,0,0,0
[giggle]
    main-window-maximized = false
    main-window-geometry = 1916x1041+0+18
    history-view-vpane-position = 865
    file-view-vpane-position = 602
    file-view-hpane-position = 325
    main-window-view = FileView
[achievement]
    upload = true
[merge]
    log = true
Say Thanks
Respond
Filed Under