gpt4 book ai didi

git - PhpStorm,根据git分支打开文件

转载 作者:行者123 更新时间:2023-12-05 01:20:10 24 4
gpt4 key购买 nike

当我工作时,我总是有 2 到 6/7/... 分支,我通常在这些分支中编辑完全不同的文件。这些分支通常不会存在超过几天,最多 2 或 3 周。

由于我不想查找我上次在某个特定分支上工作时修改或打开的文件,因此我希望有某种解决方案,也许是一个插件来解决这个问题。

也许我缺少 PhpStorm(或 Webstorm、IntelliJ 等)的功能或者也许有一个插件?

最佳答案

根据 the documentation ,可以在分支切换时恢复工作区:

PhpStorm saves your context (a set of opened files, the current run configuration, and breakpoints ) provided that the Restore workspace on branch switching option is enabled in the Settings/Preferences dialog (Ctrl+Alt+S) under Version Control | Confirmation. When you switch to a branch, PhpStorm automatically restores your context associated with that branch.

关于git - PhpStorm,根据git分支打开文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33100818/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com