作者yshihyu (yshihyu)
看板Python
標題[問題] ghp-import 發布到github
時間Fri Oct 23 23:38:03 2015
想請問一下怎麼用 ghp-import 把html發布到 github 的 gh-pages branch?
ghp-import output -b master -p // 我command 這樣下沒有把 output 資料上傳到github
應該要怎麼要用 ghp-import 開一條 gh-pages branch 把資料上傳上去
我 output 底下有一個 C_Function_Manual.htm , 兩各資料夾分別是 css , js
C_Function_Manual.htm css js
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 175.182.192.100
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1445614687.A.184.html
※ 編輯: yshihyu (175.182.192.100), 10/24/2015 00:26:12
→ ccwang002: -b master 是傳到 origin/master branch 上喔 10/24 00:31
→ ccwang002: 要確認 git remote 有設 origin 在 Github 10/24 00:31
→ ccwang002: 基本只要 ghp-import -p ./output 就可以 10/24 00:32