通过 Coda 进行颠覆 - 提交是什么意思?
我在 Mac 上通过 Coda 使用 subversion,我刚刚设置了我的第一个站点,并按照在线教程在终端使用命令行设置了我的 svn 存储库。
但是,当我访问我的网站时,我会在本地看到该网站的文件,当我将鼠标悬停在其上时,会看到一个问号,上面写着“添加文件”;当我单击该问号时,会出现一个带有白色“A”的绿色圆圈。说“提交此文件”?当我将鼠标悬停在它上面时。这一切意味着什么?
我对此很陌生,所以请原谅我。
Im using subversion via Coda on a Mac, and I have just set up my first site and following online tutorials I set my svn repository using command line at the terminal.
However when I go to my site, I see my files for the site on my local side, with either a question mark which says 'add file' when I hover over it and when I click that a green circle with a white 'A' saying 'commit this file'? when I hover over it. What does all this this mean?
Im new to this so please forgive me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 Coda 时,最简单的方法是单击站点并为您的项目创建一个新站点。请注意,底部有一个用于填写 SVN 的表格。
但是,您看到的是 A ,这意味着您的文件已添加并准备好提交到 svn。通常在 Coda 中,您可以通过选择添加的文件并右键单击“提交”来完成此操作。
这里有大量关于 SVN 的一般信息:http://svnbook。 red-bean.com/nightly/en/index.html
Coda 的 SVN 客户端是多种 GUI 风格之一,它使您可以轻松地以非常直观的方式查看正在执行的操作,但通常都是这样基于同样的原则。
编辑:
只是稍微详细说明一下;要求您提交的实际原因是 Coda 要求您决定是否希望工作副本(您的本地副本)将更改发送到存储库(您存储文件的位置)。
每个提交都会创建一个修订,使您可以回顾每个单独的提交并查看更改的内容和时间。这对于将来查找错误或比较文件很有用。
When using Coda the easiest way is to click sites and create a new site for your project. Note there is a form for completing your SVN at the bottom.
However, what you are seeing is A meaning that your files have been added and are ready to be committed to svn. Typically in Coda you'd do this by selecting the added files and right clicking commit.
There is a wealth of information in general about SVN available here : http://svnbook.red-bean.com/nightly/en/index.html
Coda's SVN client is one of the many flavors of GUI's that make it easy for you to see what you are doing in a very visual way but it all usually is based on the same principle.
edit:
Just to elaborate slightly; the actual reason you are being asked to commit is that Coda is asking you to make the decision whether you want the working copy (your local copy) to send changes to the repository (where you are storing your files).
Each commit creates a revision that allows you to look back through each individual commit and see what was changed and when. This will provide useful in future for finding errors or comparing files.