瀏覽代碼

Add bulk-update-subtree

Willy-JL 2 年之前
父節點
當前提交
aab170e4e4
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .gitconfig

+ 1 - 0
.gitconfig

@@ -1,2 +1,3 @@
 [alias]
     update-subtree = "!f() { git subtree pull -P $GIT_PREFIX $(<${GIT_PREFIX}.gitremote); }; f"
+    bulk-update-subtree = "!f() { find . -name .gitremote -execdir git update-subtree \\;; }; f"