我之前使用的是GIT with unfuddle,但是我正在尝试 Gitflow </跨度> 用Github作为中央存储库。到目前为止,我到目前为止已完成以下工作:
在Github I.e网站中创建Github帐户并创建…存储库cd / home / username / Downloads /(在本地机器上)wget -q -http://github.com/nvie/ gitflow </跨度> /生/开发/的contrib / gitflow </跨度> -installer.sh-no检查证书sudo chmod a + x …
“无法为.git / refs / remotes / origin / develop创建目录”意味着在您初始化的本地仓库中编写远程引用存在权限问题 /var/www/website/ 。
/var/www/website/
在 这个问题 例如,OP必须做一个 sudo git push 。 sudo 要么 chown 在“ 首次上传到github的问题 ”。
sudo git push
sudo
chown
在偏远的一面,如“ 将存储库上传到github失败说“权限被拒绝” “,请务必将您的公共ssh密钥添加到您的GitHub仓库。