When I checkout an existing remote branch, the current buffer remains on the old branch. However if I open a new file, that new file is on the checked-out branch.
My current workflow is this:
- editing file
a.txt - magit-checkout
feature(a.txtexists onfeature) - close
a.txt - open
a.txt
And the workflow I want to get is this:
- editing file
a.txt - magit-checkout
feature(a.txtexists onfeature) a.txtis now the version fromfeature
Is there a way to make the current buffer file be checked out on the new branch?
p.s. I'm using Spacemacs, don't know if that matters here.