跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • git subtree 在 windows 上很慢
未分類
16 12 月 2020

git subtree 在 windows 上很慢

git subtree 在 windows 上很慢

資深大佬 : fengxianqi 4

之前用了 git submodule,觉得提交麻烦,而且这边子库也不需要有版本的概念,所以用了 subtree,但发现在 mac 上用还可以接受,但 windows 的同事 push 一次巨慢( 10 分钟以上),也用了 split 命令,split 一次也比较久。所以想问下大家,是我们的姿势不对吗。

subtree 添加后,为简化命令,我们是直接写几个命令放在 package.json 上通过 npm run 来跑的。

"pull:common": "git subtree pull --squash --prefix=src/common git 地址 master", "push:common": "git subtree push --prefix=src/common git 地址 master", "split:common": "git subtree split --prefix=src/common" 

大佬有話說 (1)

  • 主 資深大佬 : fengxianqi

    subtree 资料太少了,有没大佬来搭救小弟

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具