Skip to content

Instantly share code, notes, and snippets.

@deqyra
Created April 23, 2024 11:00
Show Gist options
  • Save deqyra/89a4b6bc9d735921d2e2c79b4a065671 to your computer and use it in GitHub Desktop.
Save deqyra/89a4b6bc9d735921d2e2c79b4a065671 to your computer and use it in GitHub Desktop.
Git config file
[diff]
noprefix = false
[core]
pager = less -x1,5
sshCommand = C:/windows/system32/openssh/ssh.exe
whitespace = -trailing-space,-indent-with-non-tab,-tab-in-indent
editor = "C:\\\\Program\\ Files\\\\Sublime\\ Text\\\\subl.exe -w"
[credential]
helper = manager-core
[includeIf "gitdir/i:C:/path/to/somewhere/**"]
path = .alternate-config
[includeIf "gitdir/i:C:/path/to/somewhere_else/**"]
path = .other-config
[alias]
pf = push --force-with-lease
cam = commit --amend
can = commit --amend --no-edit
[maintenance]
repo = C:/path/to/maintenance-enabled/repos
[rerere]
enabled = true
[column]
ui = auto
[branch]
sort = -committerdate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment