Recover context from a branch but without checkout


If I have "Restore context on branch switching" enabled and I'm using a lot of similar git branches (for example, making a lot of pull requests for a project, moving branches around, comparing behaviour of revisions, etc) then I keep losing my (manual) context.  On the other hand, if I have it disabled, then when I switch to a completely different task I have to find all the relevant files and so on.  So I need a half-way house.

Is it possible to, say, restore the context from a branch but without checking out the branch?  Then I could leave the setting in manual mode and just restore when I feel it's convenient.


评论操作 固定链接

You can manually control Tasks and context using the corresponding option in the main menu.

You need Tools - Tasks and Contexts - Save/Load context actions.

Or try using tasks.