Skip to content

Instantly share code, notes, and snippets.

@bak1an
Last active July 28, 2022 03:28
Show Gist options
  • Save bak1an/3583149 to your computer and use it in GitHub Desktop.
Save bak1an/3583149 to your computer and use it in GitHub Desktop.
~/.gitconfig
[user]
name = Anton Baklanov
email = antonbaklanov@gmail.com
[core]
editor = vim
[merge]
tool = kdiff3
[color]
ui = true
status = auto
branch = auto
diff = auto
interactive = auto
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lga = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all
lg1 = log -p --stat -n 1
st = status
ci = commit
co = checkout
[push]
default = current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment