Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardb committed Oct 17, 2024
1 parent d3828bf commit 75a63ff
Show file tree
Hide file tree
Showing 3 changed files with 211 additions and 249 deletions.
7 changes: 7 additions & 0 deletions git/gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
pull = pull --ff-only
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
cleanup = !git branch --merged origin/dev | grep -v 'dev$' | xargs git branch -d
sh = "!f() { root=$(pwd)/ && cd ${root%%/.git/*} && git rev-parse && exec \"$@\"; }; f"
[protocol]
version = 2
[gpg]
Expand Down Expand Up @@ -45,3 +46,9 @@
conflictstyle = diff3
[push]
autoSetupRemote = true
[credential "https://github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential
Loading

0 comments on commit 75a63ff

Please sign in to comment.