简体   繁体   中英

How do I switch to another subversion branch in 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.

刚发现切换分支是使用更新对话框(VCS - >更新项目,⌘T)完成的,我可以在其中选择我想要的任何分支,标记或修订。

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:

  1. Use the command menu "Version Control" -> Show Changes View
  2. In this view, go to tab "Subversion Working Copies Information"
  3. Here you should find a "Configure Branches" link were you should be able to switch trunk & branches

If I may say, this seems quite complex, if anyone has better, I would be glad to hear :-)

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:

  1. Go to: "Settings" -> "Version Control" -> "Confirmation"
  2. Check the box "Display options dialog ..." for "Update"

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...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM