Skip to content

Instantly share code, notes, and snippets.

@prichodko
Created March 29, 2018 12:33
Show Gist options
  • Save prichodko/7e90cba6246349bb050311df71af9cfa to your computer and use it in GitHub Desktop.
Save prichodko/7e90cba6246349bb050311df71af9cfa to your computer and use it in GitHub Desktop.
[user]
name = "Name"
email = "Email"
[core]
pager = less -r
editor = /usr/bin/vim
[alias]
a = add .
b = branch
bb = branch -vv
c = commit
co = checkout
d = diff
f = fetch
st = status -s
g = log --graph --decorate --oneline --date-order
h = help
ai = add --interactive
ci = clean --interactive
r = rebase
ri = rebase -i
p = push
r = remote
rr = remote -vv
l = log --decorate --oneline
last = log -2 --stat --abbrev-commit --relative-date HEAD
unstage = reset HEAD --
staged = ls-files --stage --abbrev
untrack = rm --cached
oneline = log -10 --pretty=format:\"%h - %cn, %cr : %s\"
graph = log --decorate --graph --abbrev-commit --relative-date --all
list = config -l
[merge]
ff = only
tool = vscode
[credential]
helper = osxkeychain
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[mergetool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[color]
diff = auto
[pull]
ff = only
rebase = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment