我在安裝gitflow時遇到問題。我使用本教程:https://xinyustudio.wordpress.com/2012/03/26/installing-git-flow-in-windows/安裝GitFlow時遇到問題
我被困在步驟3
當我運行git clone git://github.com/nvie/gitflow.git -–recursive
我得到了這樣的結果:
Cloning into 'gitflow'...
remote: Counting objects: 1407, done.
emote: Total 1407 (delta 0), reused 0 (delta 0), pack-reused 1407
Receiving objects: 100% (1407/1407), 623.34 KiB | 0 bytes/s, done.
Resolving deltas: 100% (689/689), done.
Checking connectivity... done.
error: unable to create file contrib/msysgit-install.cmd (Permission denied)
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
我也擡頭站點中的註釋一些答案,但我無法找到答案。
這聽起來像是SSH問題。 –
@TimBiegeleisen:克隆時,只在本地創建文件,因爲錯誤是要創建一個文件,我認爲這是關於訪問權限的。 –
@AustinImperial:目錄上的訪問權限是什麼? 'git'應該能夠用目錄創建文件。 –