如何切换到 Intellij 中的另一个 subversion 分支?
IntelliJ中切换分支的概念是什么? 我一定是瞎子或者白痴......
我假设会有一个“切换到复制”选项或类似的东西,但没有......
编辑澄清:我以前的IDE有一个简单的“切换到复制”选项copy”选项,它更新了与当前分支/主干不同的所有文件。 IntelliJ 似乎对此有一种完全不同的方法,我似乎不明白。帮助也不是很有用。
非常感谢有用的关键字、链接或提示。谢谢。
What is the concept of switching branches in IntelliJ?
I must be either blind or an idiot...
I would assume there'd be a "switch to copy" option or something like that, but there is none...
EDIT for clarification: my prev IDE had a simple "switch to copy" option, which updated all files being different from current branch/trunk.
IntelliJ seems to have a completely different approach to this, which I just do not seem to understand. The help is not very useful either.
Helpful keywords, links or hints are very much appreciated. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
刚刚发现切换分支是使用更新对话框(VCS -> 更新项目,⌘T)完成的,我可以在其中选择我想要的任何分支、标签或修订。
Just discovered switching branches is done using the update dialog (VCS -> Update Project, ⌘T), where I can select any branch, tag or revision I want.
对于像我这样一开始就勾选了“不再显示”框的菜鸟,并且不再有颠覆更新对话框提示,请尝试以下操作:
如果我可以说,这看起来相当复杂,如果有人有更好的,我会很高兴听到:-)
For noobs like me that checked the "don't show this again" box in the beginning, and don't have the subversion update dialog prompting anymore, try this:
If I may say, this seems quite complex, if anyone has better, I would be glad to hear :-)
只需使用“Subversion”-> “更新目录...”带有选项。
如果“更新选项”对话框关闭,可以按以下方法将其移回:
Just use the "Subversion" -> "Update Directory..." with options.
In case the "Update options" dialog is turned off, here is how one can move it back:
如果像我一样你点击“配置分支”,然后选择你想要的分支的路径 - 这是错误的!当在“配置分支”中时,您需要选择从那里向上一级的路径,
希望这可以帮助像我这样的人......
If like me you hit "configure branches", and then chose the path of the branch you want - this is wrong! when in "configure branches" you need to select the path one level up from there
hopefully this helps someone like me...