Added new commands into a .gitconfig.local

This commit is contained in:
Marcin Woźniak 2024-05-12 01:40:30 +02:00
parent c5a622638d
commit e9a5875888
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -4,6 +4,7 @@
[commit] [commit]
gpgsign = true gpgsign = true
verbose = true verbose = true
[pull] [pull]
rebase = false rebase = false
@ -18,6 +19,7 @@
co = checkout co = checkout
cp = cherry-pick cp = cherry-pick
df = !git --no-pager diff df = !git --no-pager diff
br = !git branch | cat
dfh = !git --no-pager diff dfh = !git --no-pager diff
diffh = !git --no-pager diff diffh = !git --no-pager diff
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an - %ae>%Creset' --abbrev-commit --branches lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an - %ae>%Creset' --abbrev-commit --branches
@ -26,10 +28,9 @@
squash-all = "!f(){ git reset $(git commit-tree HEAD^{tree} \"$@\");};f" squash-all = "!f(){ git reset $(git commit-tree HEAD^{tree} \"$@\");};f"
st = status --ignore-submodules=dirty -s st = status --ignore-submodules=dirty -s
untrack-file = !git update-index --assume-unchanged untrack-file = !git update-index --assume-unchanged
exclude-file = !git update-index --assume-unchanged
c = commit --author='Marcin Woźniak <y0rune@aol.com> -s' c = commit --author='Marcin Woźniak <y0rune@aol.com> -s'
cw = commit --author='Marcin Woźniak <marcin.wozniak@wundermanthompson.com> -s' cw = commit --author='Marcin Woźniak <marcin.wozniak@wundermanthompson.com> -s'
pullwork = GIT_SSH_COMMAND='ssh -i ~/.ssh/work/id_rsa' git pull
[url "git@github.com:"] [url "git@github.com:"]
insteadOf = "https://github.com/" insteadOf = "https://github.com/"