본문 바로가기

개발 Tip

git 설정

[user]

    name = Kalmark776

    email = khj667@naver.com

 

[core]

    editor = vim

    whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol

    excludesfile = ~/.gitignore

 

[color]

    ui = auto

[color "branch"]

    current = yellow bold

    local = green bold

    remote = cyan bold

[color "diff"]

    meta = yellow bold

    frag = magenta bold

    old = red bold

    new = green bold

    whitespace = red reverse

[color "status"]

    added = green bold

    changed = yellow bold

    untracked = red bold

[diff]

    tool = meld

[merge]

    tool = meld

[difftool]

    prompt = false

 

[alias]

    st = status

    ci = commit

    co = checkout

    br = branch

    unstage = reset HEAD --

    last = log -1 HEAD

    glog = log --all --graph --decorate=full --pretty=oneline --abbrev-commit

[core]

    editor = vim

[push]

    default = simple