Reputation: 155
How do I get sublime to reload the files when I switch git branches? Is it supposed to be doing this automatically? This question hasn't been asked anywhere on here, and I haven't been able to find anything via google.
Upvotes: 1
Views: 2177
Reputation: 391
Happens automatically on OSX Mavericks when you switch branches (non-paid version of Sublime).
Upvotes: 1
Reputation: 102862
It should do it automatically. On Windows 8 I have a file open in one branch, switch over to the command line, checkout another branch, switch back to Sublime, and the file's contents are reloaded automatically. You may need to switch to another tab in Sublime, then switch back to the file. If there are unsaved changes in the first branch, you should be asked if you want to reload the file.
Upvotes: 2