I want to prevent my IDE (e.g. Visual Studio) to (unnecessarily) reload files when I do this, assuming I am on the master branch:
git checkout -b feature/myfeature
<do my changes, validate the result => great I want them back in the master-branch that HAS NOT CHANGED in the meanwhile>
git add -A; git commit -am 'my changes';
git checkout master
git merge feature/myfeature
How do I do this without a "checkout" of the master branch first before merging and causing files to change in the directory tree (in a fast-forward case like this one)?