2015-09-25 107 views
1

您好,我想使用github,但我不知道如何使用它。我閱讀了教程,但我仍然無法弄清楚。我如何將我的localhost項目推送到github

我想要的是我可以將我的項目從我的xampp localhost推送到github。

我該怎麼做?

感謝您迴應

+0

這可能是大量的工作。你有沒有在你的本地電腦上安裝Git?您需要通過將GitHub指定爲遠程存儲庫來配置Git。 –

回答

2

您可以創建一個新的存儲庫:https://github.com/new

git init 
git add README.md 
git commit -m "first commit" 
git remote add origin https://github.com/yourPseudo/repositoryName.git 
git push -u origin master 
+0

是的,這工作感謝:) –

0

假設您使用Windows:您可以從Github-for-Windows安裝下列工具。它非常易於使用,您可以使用所設置的工具輕鬆上傳本地項目。

相關問題