我是git的新手,没有任何版本控制系统的经验。我在本地进行开发,正在寻找一种比FTP更简单的方法来将文件部署到(LAMP)Web服务器。我很难配置Git(适用于Windows的2.5版)在推送更改时自动更新其当前的工作目录。创建本地存储库,执行首次提交并在别名下添加远程位置后,这就是我要做的事情origin:
ssh user@domaincd testgitgit initgit config receive.denyCurrentBranch updateInsteadgit status:无须提交exit git status:未添加任何内容,但存在未跟踪的文件git push origin master步骤8产生一个通知和两个错误:
stdin: is not a ttyfatal: bad config value for 'receive.denycurrentbranch' in configfatal: Could not read from remote repository我一直在环顾四周,但被困住了。我究竟做错了什么?