From e9a587588818b3aa2bda90d4a15bd3504baddbd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sun, 12 May 2024 01:40:30 +0200 Subject: [PATCH] Added new commands into a `.gitconfig.local` --- .gitconfig.local | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitconfig.local b/.gitconfig.local index eda661c..582a507 100644 --- a/.gitconfig.local +++ b/.gitconfig.local @@ -4,6 +4,7 @@ [commit] gpgsign = true verbose = true + [pull] rebase = false @@ -18,6 +19,7 @@ co = checkout cp = cherry-pick df = !git --no-pager diff + br = !git branch | cat dfh = !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 @@ -26,10 +28,9 @@ squash-all = "!f(){ git reset $(git commit-tree HEAD^{tree} \"$@\");};f" st = status --ignore-submodules=dirty -s untrack-file = !git update-index --assume-unchanged + exclude-file = !git update-index --assume-unchanged c = commit --author='Marcin Woźniak -s' cw = commit --author='Marcin Woźniak -s' - pullwork = GIT_SSH_COMMAND='ssh -i ~/.ssh/work/id_rsa' git pull - [url "git@github.com:"] insteadOf = "https://github.com/"