Skip to content

Commit 75a63ff

Browse files
committed
Updates
1 parent d3828bf commit 75a63ff

File tree

3 files changed

+211
-249
lines changed

3 files changed

+211
-249
lines changed

git/gitconfig

+7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
pull = pull --ff-only
1414
cor = !git for-each-ref --sort=-committerdate --format='%(refname:short) (%(committerdate:relative))' refs/heads | fzf --reverse --height 35% --nth 1 | awk '{print $1}' | xargs git checkout
1515
cleanup = !git branch --merged origin/dev | grep -v 'dev$' | xargs git branch -d
16+
sh = "!f() { root=$(pwd)/ && cd ${root%%/.git/*} && git rev-parse && exec \"$@\"; }; f"
1617
[protocol]
1718
version = 2
1819
[gpg]
@@ -45,3 +46,9 @@
4546
conflictstyle = diff3
4647
[push]
4748
autoSetupRemote = true
49+
[credential "https://github.com"]
50+
helper =
51+
helper = !/opt/homebrew/bin/gh auth git-credential
52+
[credential "https://gist.github.com"]
53+
helper =
54+
helper = !/opt/homebrew/bin/gh auth git-credential

0 commit comments

Comments
 (0)