Skip to content

Instantly share code, notes, and snippets.

@ivanitch
Last active March 12, 2021 14:21
Show Gist options
  • Select an option

  • Save ivanitch/03dec8c64102cedd2918760b48b48ec2 to your computer and use it in GitHub Desktop.

Select an option

Save ivanitch/03dec8c64102cedd2918760b48b48ec2 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = Sergey Ivanov
email = [email protected]
[alias]
lg1 = log --graph --pretty=format:'%C(bold red)%h%Creset -%C(bold yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) %C(bold yellow)%d%C(reset) - %C(white)%s%C(reset) %C(cyan)- %an%C(reset)%C(bold green)(%ar)%C(reset)' --all
lg3 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
autocrlf = false
quotepath = false
editor = atom --wait
pager = "iconv.exe -f cp1251 -t utf-8 | less"
[i18n]
commitEncoding = utf8
logoutputencoding = cp1251
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment