向现有项目添加版本控制 [英] Adding version control to an existing project

查看:30
本文介绍了向现有项目添加版本控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个规模相当大的项目,而且我是唯一的开发人员.我们目前不使用任何版本控制,但我肯定需要开始.

I am working on a project that has grown to a decent size, and I am the only developer. We currently don't use any version control, but I definitely need to start.

我想使用 Subversion.将现有项目转移到它的最佳方式是什么?

I want to use Subversion. What would be the best way to transfer an existing project to it?

我有一个用于开发新功能的测试服务器,然后将这些文件传输到 2 个生产服务器.有没有一种工具可以自动上传到测试,然后部署到实时服务器?

I have a test server that I use for developing new features, then transfer those files to the 2 production servers. Is there a tool that will automate the upload to the test, then the deployment to the live servers?

所有这些都是使用 Visual Studio 在 ASP.NET 中开发的(如果重要的话)

All this is developed in ASP.NET using Visual Studio (if that matters)

推荐答案

在上一个答案的基础上稍微展开...

To expand a little on the previous answer...

1) 创建一个新的 SVN 仓库
2) 将您迄今为止所做的所有代码提交给它
3)再次检查所有代码,以在您的开发机器上创建一个工作副本
4)工作!

1) Create a new SVN repository
2) Commit all the code you've worked on so far to it
3) Check all that code OUT again, to create a working copy on your dev machine
4) Work!

这绝对不是障碍,真的.

It's definitely not a hurdle, really.

这篇关于向现有项目添加版本控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆