Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Sample git config

mjgiarlo edited this page May 1, 2012 · 5 revisions
[user]
        name = Michael J. Giarlo
        email = [email protected]

[github]
        user = mjgiarlo
        token = GETTHISFROMGITHUB

[color]
        diff = auto
        status = auto
        branch = auto
        interactive = auto
        ui = true
        pager = true

[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

[core]
        excludesfile = .gitignore
        pager = less -FRX
        whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol

[alias]
        co = checkout
        stat = status
        merge = mergetool
        hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
        type = cat-file -t
        dump = cat-file -p
        remotes = remote -v
        branches = branch -a

[branch "master"]
        remote = origin
        merge = refs/heads/master
Clone this wiki locally