[問題] ghp-import 發布到github

看板Python作者 (yshihyu)時間10年前 (2015/10/23 23:38), 10年前編輯推噓0(003)
留言3則, 1人參與, 最新討論串1/1
想請問一下怎麼用 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

10/24 00:31, , 1F
-b master 是傳到 origin/master branch 上喔
10/24 00:31, 1F

10/24 00:31, , 2F
要確認 git remote 有設 origin 在 Github
10/24 00:31, 2F

10/24 00:32, , 3F
基本只要 ghp-import -p ./output 就可以
10/24 00:32, 3F
文章代碼(AID): #1MAbHV64 (Python)
文章代碼(AID): #1MAbHV64 (Python)