与 SVN 混淆
我是 SVN 新手,我获得了一个已通过 http://versionsapp.com/
但是,我对如何在本地获取文件感到困惑。我需要导出它们或结账吗?我想对文件进行更改,然后在 svn 存储库中更新它。
有人可以对它是哪一个给出一个很好的解释吗?如果其他人更新了文件,我如何在我的计算机上的本地副本中获取该文件?
先感谢您! :)
I'm new with SVN, and I was given a branch that I have connected to with http://versionsapp.com/
However, I'm confused on how to get the files locally. Do I need to export them or checkout? I want to make a change to a file then update it in the svn repository.
Can someone give a good explanation on which one it is? If someone else updates a file, how do I get that file in my local copy thats on my machine?
Thank you in advance! :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
你需要到分行去看看。如果其他人进行了更改,您就必须更新您的工作副本。阅读 http://svnbook.red-bean.com/ nightly/en/svn-book.html#svn.tour:介绍了 SVN 的基本用法。
You need to checkout the branch. If someone else makes a change, you'll have to update your working copy. Read http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.tour: it presents basic usage of SVN.
签出意味着创建您自己的工作目录,您可以在其中编辑、提交自己的更改以及接收其他人提交的更改。
要使用最新的提交进行更新,请在工作目录中执行
svn update
。它会告诉您哪些文件已更改。即使您是唯一提交更改的人(可能在每次提交之后),您也需要定期执行此操作。export
功能用于创建当前树的转储,并删除所有版本控制内容。Check out means create your own working directory where you can edit, commit your own changes, and receive changes committed by others.
To update with the freshest commits, do
svn update
in the working directory. It will tell you which files have changed. You need to do this periodically even if you are the only one who committed changes (perhaps after every commit).The
export
feature is for creating a dump of the current tree with all the version-control stuff stripped out.您需要
签出
文件,如果导出
您将无法将本地副本与SVN中的副本同步。要获取更新的文件,请在本地文件上使用
update
选项。另外,您可以使用commit
将更改添加到 SVN。You need to
checkout
the files , If youexport
you will not be able to sync your local copy with copy in SVN.To get updated file use
update
option on local file. Alos you can usecommit
to add your changes to SVN.