X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/390f6e6794cd2b91450cc2731c2e403062e9e650..6bbeb5288dbdeb3ae1df1369db78515e4b9ab08c:/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