Skip to content

Instantly share code, notes, and snippets.

@samueljon
Last active September 26, 2015 04:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samueljon/1042930 to your computer and use it in GitHub Desktop.
Save samueljon/1042930 to your computer and use it in GitHub Desktop.
GitConfig
[color]
ui = 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
[color]
ui = true
[color "diff"]
whitespace = red reverse
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
; Define the editor that you want to use when git prompts for
; commit messages.
editor = subl -n -w
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
; Alias for pushing tags and developer, master branch to origin
; invoked with "git kosmos". Usefule when using git flow
kosmos = push -v --tags origin develop:develop master:master
[user]
name = <nafnið þitt>
email = <netfangið þitt>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment