作者热门文章
- r - 以节省内存的方式增长 data.frame
- ruby-on-rails - ruby/ruby on rails 内存泄漏检测
- android - 无法解析导入android.support.v7.app
- UNIX 域套接字与共享内存(映射文件)
使用 IntelliJ IDEA 的 Git 插件可以做很多事情,但我还没有找到重命名分支的方法。有吗?
我知道我总是可以调出一个终端并执行 git branch -m source target
,但我也希望找到一个 GUI 解决方案。
最佳答案
此功能有几个悬而未决的问题:
后者尚未实现。
前者确实显示了当前可用的唯一方法(OP 提到):
Go to the command line and execute
git branch -m <old_name> <new_name>
但即使这样在 IDEA 上也有刷新问题。
2017 年 1 月更新:IDEA-131021可能已经实现,如 Pavlo Zvarych 所示的 answer .与proposal一致:
introduce menu item in
Git | Branches
popup for current branch and place the actions related to the current branch in its second-level submenu.
关于git - 如何从 IntelliJ IDEA 中重命名本地 Git 分支?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31901384/
我是一名优秀的程序员,十分优秀!