Last active
October 28, 2024 17:25
-
-
Save lkurzyniec/a3401ee521791c16ba151ce26fdb8b25 to your computer and use it in GitHub Desktop.
.gitconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Łukasz Kurzyniec | |
email = foo | |
[core] | |
autocrlf = false | |
safecrlf = false | |
excludesfile = C:\\Users\\lkurzyniec\\.gitignore_global | |
editor = notepad | |
[diff] | |
tool = winmerge | |
[difftool "winmerge"] | |
cmd = 'C:/Program Files (x86)/WinMerge/WinMergeU.exe' -e \"$LOCAL\" \"$REMOTE\" | |
[merge] | |
tool = kdiff3 | |
[mergetool] | |
keepBackup = false | |
trustExitCode = true | |
[push] | |
default = simple | |
autoSetupRemote = true | |
[fetch] | |
prune = true | |
[alias] | |
co = checkout | |
cb = checkout -b | |
cod = checkout . | |
unstage = reset -- | |
mt = mergetool | |
dt = difftool | |
b = branch | |
bc = branch --contains | |
brc = branch -r --contains | |
f = fetch | |
s = status | |
c = commit | |
camd = commit --amend | |
a = add | |
ad = add . | |
aa = add ** | |
ai = add -i | |
rc = rebase --continue | |
last = difftool HEAD~1 | |
lg = log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
qfix = "!f() { git worktree add -b \"$1\" ./fix/\"$1\" origin/develop; }; f" | |
develup = fetch origin develop:develop | |
fpush = push -f origin | |
amfpush = "!f() { git aa && git commit --amend --no-edit && git fpush; }; f" | |
ls = "!git config -l | grep alias | cut -c 7-" | |
[includeIf "gitdir/i:c:/git/somre_repos_folder/"] | |
path = .gitconfig-repos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment