Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

《一文手把手教你搭建Git私服》文章中的git仓库目录错误 #2662

Open
siuyutpang opened this issue Aug 2, 2024 · 0 comments

Comments

@siuyutpang
Copy link

在这篇文章中的 服务器端部署Git 仓库 这一section中切换到git用户后,为什么还要进入git目录?
如果是在~/git目录下创建的仓库的话,在本地设置远程仓库地址的话应该是以下命令:

git remote add origin git@git服务器端的ip:git/world.git

但是根据你添加远程仓库的地址来看,你的远程仓库是放在git用户的家目录下,所以说这是相矛盾的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant