1
現在,如果我想在github.com上創建一個新的存儲庫,我必須在網站github.com上創建它。那麼我可以通過shell命令在我的本地機器上創建一個新的?我可以通過shell命令在github.com上創建新的存儲庫嗎?
現在,如果我想在github.com上創建一個新的存儲庫,我必須在網站github.com上創建它。那麼我可以通過shell命令在我的本地機器上創建一個新的?我可以通過shell命令在github.com上創建新的存儲庫嗎?
Github有幾種CLI工具。其中比較有名的是hub
,用Go編寫。這是你如何遠程創建一個新的Github回購從你的外殼與它:
$ git init
$ git add . && git commit -m "It begins."
$ git create -d "Description goes here"
# (creates a new project on GitHub with the name of current directory)
$ git push origin master
我寫了一個工具由nodejs,非常感謝〜 – Yuga