yurko
2/2/2016 - 8:13 AM

gitconfig

gitconfig

[color]
	ui = true
[user]
	name = Yurko Bregey
	email = yurii.bregey@innocode.no
[alias]
    s = status
    c = commit
    go = checkout
    new = checkout -b
    amend = commit --amend
    get = pull --rebase
    kill = branch -D
    unstage = reset HEAD --
    force = push -uf origin
    last = log -1 HEAD
    lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold gre$
    lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %$
    lg = !"git lg1"
    ci = commit
    last = log -1 HEAD
    hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
    up = pull --rebase --prune
    wip = commit -am \"WIP\"
    save = git add --all && git commit -m \"SAVEPOINT\"
    force = git push -uf origin
[core]
    editor = vim
[push]
    default = simple