han3_ji7_tsoo1_kian3 icon indicating copy to clipboard operation
han3_ji7_tsoo1_kian3 copied to clipboard

javadoc文件傳去gh-pages

Open sih4sing5hong5 opened this issue 8 years ago • 4 comments

放在git裡面太亂

sih4sing5hong5 avatar Jun 22 '16 23:06 sih4sing5hong5

可以用 git subtree 切出來放進 bare branch,雖然現在 checkout -b 然後放個 commit 把別的刪掉也可以。

如果還是後悔歷史裡面有的話可以 filter-branch 刪一圈然後 force push(和 rebase 一樣破壞歷史一致性,得趁 fork 的人不多時候做)……

Artoria2e5 avatar Jun 23 '16 02:06 Artoria2e5

我是覺得應該不用filter 因為程式架構也才大改而已 (其實裡面還有字型檔XDD) git有shadow模式應該還ok

git subtree這部份可以麻煩你幫忙嗎

sih4sing5hong5 avatar Jun 23 '16 02:06 sih4sing5hong5

唔… github.com/git/git/tree/master/contrib 里面有 git subtree 的指令稿,拿出来跑 git subtree split 就是。

Artoria2e5 avatar Jun 23 '16 13:06 Artoria2e5

那能整理個簡單的script 每次文件有改變,可以一次部署到gh-page

sih4sing5hong5 avatar Jun 23 '16 14:06 sih4sing5hong5