简体   繁体   English

将现有的NetBeans项目移动到远程服务器并将其置于版本控制下

[英]Move an existing NetBeans project to a remote server and place it under version control

I have a project that I have been working on for about a month. 我有一个项目已经工作了大约一个月。 The server we will be using for production has finally been made available. 我们将用于生产的服务器终于可用。 I want to place this project on the server and use Git for version control. 我想将此项目放置在服务器上,并使用Gi​​t进行版本控制。

I am trying to follow along with this tutorial, but it is not addressing my situation. 我正在尝试按照本教程进行操作,但是并不能解决我的情况。
http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository

I have intialized a local Git repository in Netbeans (version 7.3 has built in Git support), but what is my next step? 我已经在Netbeans中初始化了一个本地Git存储库(版本7.3已内置Git支持),但是下一步是什么?

Thanks for any help. 谢谢你的帮助。 First time using Git. 第一次使用Git。

Your next step is to create a bare repository on a remote server in which everyone will be collaborating. 下一步是在远程服务器上创建一个裸仓库,每个人都将在其中进行协作。 You can follow this tutorial for doing this, or consider a more flexible installation like Gitolite . 您可以按照本教程进行操作,或者考虑使用更灵活的安装方式,例如Gitolite

Is this enough, or do you also want to have a directory on the server with one of the branches checked out? 这是否足够,还是您还想在服务器上有一个目录,其中一个分支已签出?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在现有Git存储库的版本控制下很难创建一个全新的Eclipse项目吗? - Difficulty creating a brand new Eclipse project under version control of existing Git repositories? 将现有项目推送到远程服务器 - Push existing project to remote server 使用“ create_project.py”创建cocos2dx项目并将其置于版本控制下并通过Xcode访问的正确方法是什么? - What is the correct way to create a cocos2dx project using “create_project.py” and place it under version control, and access via Xcode? Xcode 4.1.1:如何将现有项目(尚未在Git下)推送到远程Git Server - Xcode 4.1.1 : how to push an existing project (not yet under Git) onto a remote Git Server 使用 Git 进行版本控制的项目的备份选项 - Backup options for a project under version control with Git 在版本控制下重命名RStudio项目 - Renaming RStudio project under version control 将现有项目复制到git中以进行版本控制 - Copy existing project into git for version control 更改现有项目版本控制系统 - Change existing project version control system 如何在远程开发服务器上使用版本控制? - How to use version control on a remote development server? 使用 git 在版本控制下创建现有目录的命令是什么? - what is the command to make an existing directory under version control using git?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM