Git在打开文件时分支 [英] Git branching while files are opened
本文介绍了Git在打开文件时分支的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在VIM中的多个选项卡中打开了我的项目文件,并且我想要快速切换到不同的分支,我必须继续关闭我的项目,切换分支然后重新打开我的项目? 解决方案
p> +1 Xavier指导我到正确的地方,对不起,我没有提到我正在使用GVIM。我的文件在TABS中。所以我知道你可以使用:tabdo e!重新加载TABS。 :bufdo e reloads buffers。
谢谢你们。
Is it advisable to switch branches in GIT when files are opened in your editor?
I have opened my project files in VIM on a number of tabs, and I want to quickly switch to a different branch, do I have to keep on closing my projects, switch a branch then reopen my project?
解决方案
+1 Xavier for directing me to the right place, sorry i didn't mention that am using GVIM. My files are in TABS. So i learned you can use :tabdo e! to reload the TABS. :bufdo e reloads buffers.
Thanks guys.
这篇关于Git在打开文件时分支的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文