如何保存项目版本.net而不使用复制/粘贴文件夹
我会知道是否有一种方法可以保存我的程序的不同版本而不使用(复制文件夹并将其粘贴到备份文件夹中)。
例如,如果我的程序版本是 1.0.5,现在我想要进行一些更改(1.0.6),我想确保如果这些更改不太好,我可以返回到 1.0.5,而无需每次复制旧文件夹。
有什么工具可以帮助我解决这个问题吗?
would know if there is a way to save different version of my program without using (Copy folder and Paste it to in Backup Folder).
For example if my program version is 1.0.5 and now i want make some changes(1.0.6), i want be sure that if those changes wasnt so good i could go back to 1.0.5 without copy each times the old folder.
Is there any tool that help me with this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要在代码版本控制系统中使用分支。
部分解释是您要求的原因:
为什么在 svn 中使用分支?
有使用它们的教程。
它们是:
Subversion 分支
Mercurial 分支
You need to use branches in your code versioning system.
An explanation which is partly a reason you're asking for:
why use branches in svn?
There are tutorials for using them.
These are:
Subversion branches
Mercurial branches
我想你想研究某种类型的版本控制我会尝试
Subversion 或
Git
有多个免费托管站点可以托管您的代码存储库,您可以想要查看 Google 代码托管 或 Sourceforge.net 如果您不介意您的项目开源。
网上有很多资源可以了解版本控制,只需开始谷歌搜索即可。
可能需要一些时间来设置,但是一旦运行它,切换到不同的代码分支或恢复更改、在多台计算机上工作等就会变得更加容易。
I think you want to look into some type of version control i'd try
Subversion or
Git
There are multiple free hosting sites that will host your repository of code, you might want to check out Google Code Hosting or Sourceforge.net if you don't mind your project being open source.
There are lots of resources online to learn about version control, just start Googling.
Might take a bit to setup, but once you got it running it makes things much easier to switch to different branches of code or revert changes, work from multiple computers, ect.