X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/390f6e6794cd2b91450cc2731c2e403062e9e650..caa1dd461e93ae16604d5b5bc7fd06af7d9a81d4:/etc/git/config diff --git a/etc/git/config b/etc/git/config index ae73c10..bcc9e4d 100644 --- a/etc/git/config +++ b/etc/git/config @@ -7,6 +7,7 @@ submodules-pull = submodule foreach git pull origin master pr = "!f() { git fetch -fu ${2:-origin} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f" tree = log --oneline --graph --branches --color + search = !git rev-list --all | xargs -I '{}' git ls-tree -r --full-name --format='%(objectmode) %(objecttype) %(objectname) {}%x09%(path)' '{}' | grep [init] defaultBranch = master