close

1. 我先參考這篇文章來安裝git (http://git-scm.com/book/en/Getting-Started-Installing-Git)
2. 建立git repository (儲存庫)
3. 在GitBash (開始 > 程式集 > Git > Git Bash) 將路徑指到你要建立網站的路徑後,執行「git init」
4. 把我的hello world佈上去:「git add index.html」
5. commit變更: 「git commit -m "Add index.html"」

啟用網站repository
1. 選擇要啟用repository的網站。
2. 選擇「從原始程式碼管理設置部署/Set up deployment from source control」。在Set Up Deployment dialog對話方塊會確認Source的位置,選擇「Local Git」

部署專案
1. 「git remote add azure http://{帳號}.windowsazure.net/testGit.git」

arrow
arrow
    文章標籤
    azure Git
    全站熱搜

    my007FFF 發表在 痞客邦 留言(0) 人氣()