如何设置本地 Git 存储库以与远程服务器配合使用?
我正在尝试使用 git 启动并运行。我已经在我的实时站点所在的远程服务器上设置了一个存储库。 我想在该站点的副本上本地执行一些工作,然后将更改推送回远程服务器。
如何从远程存储库检出/克隆站点的副本?
我可以通过 Netbeans Git 插件执行此操作吗?
I'm trying to get up and running with git. I have set up a repository on my remote server, where my live site sits.
I want to do some work locally on a copy of that site, then push the changes back to the remote server.
How can I checkout/clone a copy of the site from the remote repository?
Can I do this via the Netbeans Git plugin?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的存储库已经设置,您应该有 git URL,它通常看起来像
克隆存储库,
您将获得文件夹 somerepo,它将是您拥有的克隆存储库。一旦您准备好推送更改:
If you repo is already set up, you should have git URL to it, it typically looks like
to clone repository
you will get folder somerepo, it will be cloned repository that you own. As soon as you ready to push changes: