0
我有我的服务器上的git仓库,当我去添加远程我用Git服务器不需要/ directory/where/git/repos/are /?
git remote add origin [email protected]:/opt/git/project.git
或者类似的东西。我想知道我怎样才能摆脱/opt/git/
的,只是让它
[email protected]:project.git
我有我的服务器上的git仓库,当我去添加远程我用Git服务器不需要/ directory/where/git/repos/are /?
git remote add origin [email protected]:/opt/git/project.git
或者类似的东西。我想知道我怎样才能摆脱/opt/git/
的,只是让它
[email protected]:project.git
让/opt/git
主目录为git
用户上gitserver
?或者,把project.git
放在/home/git
中,或者git
用户的当前主目录是...
在'gitserver'上为'git'用户创建'/ opt/git'的主目录?或者,把'project.git'放在'/ home/git'中,或者'git'用户的当前home目录是... – twalberg
我认为你应该添加一个答案,@twalberg –
完成。这看起来有点太简单了,所以我首先发表评论,认为可能比它更多... – twalberg