Skip to content

Instantly share code, notes, and snippets.

@amaslenn
Last active May 15, 2017 09:24
Show Gist options
  • Save amaslenn/f0c26b54dec1d4e59365 to your computer and use it in GitHub Desktop.
Save amaslenn/f0c26b54dec1d4e59365 to your computer and use it in GitHub Desktop.
Git aliases and config for Beyond Compare 3
[user]
name = Maslennikov, Andrey
email = andrew.maslennikov@gmail.com
[alias]
st = status -sb
br = branch
co = checkout
ci = commit
rb = rebase
hist = log --graph --pretty=format:\"%C(red)%h%C(reset) %C(cyan)%ad%C(reset) [%C(green)%an%C(reset)] %C(bold)%d%C(reset) %s\" --abbrev-commit --date=short
cor = !git checkout $1 && git rebase master
com = checkout master
diffw = diff --color-words
[push]
default = simple
[pull]
default = simple
[includeIf "gitdir:C:/0_work/"]
path = .gitconfig-work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment