Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

javadoc文件傳去gh-pages #24

Open
sih4sing5hong5 opened this issue Jun 22, 2016 · 4 comments
Open

javadoc文件傳去gh-pages #24

sih4sing5hong5 opened this issue Jun 22, 2016 · 4 comments
Labels

Comments

@sih4sing5hong5
Copy link
Owner

放在git裡面太亂

@Artoria2e5
Copy link
Collaborator

Artoria2e5 commented Jun 23, 2016

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

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

@sih4sing5hong5
Copy link
Owner Author

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

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

@Artoria2e5
Copy link
Collaborator

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

@sih4sing5hong5
Copy link
Owner Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants