Skip to content

Instantly share code, notes, and snippets.

@hogart
Last active March 5, 2025 22:30
Show Gist options
  • Save hogart/1385574 to your computer and use it in GitHub Desktop.
Save hogart/1385574 to your computer and use it in GitHub Desktop.
my .gitconfig
; on windows, this usually goes to c:\Users\MyLogin\.gitconfig
[alias]
st = status
ci = commit
co = checkout
br = branch
last = cat-file commit HEAD
[color]
ui = true
[push]
default = upstream
autoSetupRemote = true
[user]
name = Konstantin Kitmanov
email =
[merge]
ff = false
[pull]
rebase = true
[core]
editor = vim
filemode = false
; must be absolute path, if this global or per-user conf
; on windows path should be escaped: c:\\Users\\MyLogin\\.gitignore_global
excludesfile = ~/.gitignore_global
autocrlf = false
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[column]
ui = auto
[branch]
sort = -committerdate
[tag]
sort = version:refname
[diff]
algorithm = histogram
[help]
autocorrect = prompt
[rerere]
enabled = true
autoupdate = true
[rebase]
autoStash = true
updateRefs = true
# OS generated files
.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
# Editor-specific files & folders
.vim
.idea
.ve
*~
# Other
.ropeproject
node_modules
# Temporary files
.sass-cache
*.pyc
*.swp
*.swo
wget https://gist.githubusercontent.com/hogart/1385574/raw/d850a4c54d5df85b7e270a81d5d5e738a1b8fa7c/.gitconfig && wget https://gist.githubusercontent.com/hogart/1385574/raw/62123d4a951d1331094eea17fb9f727b2918ec33/.gitignore_global
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment