Hi,
Yes, the plugin supports the scenarios that you posted above.
For example you could have Revisr installed on http://www.example.com, tracking branch “master” that is tracking remote branch “origin/master” (usually Bitbucket/GitHub).
If you update a plugin directly from the wp-admin on http://www.example.com, or use the code editor, you’d be able to commit these changed files and push them back up to “origin/master”. Alternatively you could upgrade the plugin on Bitbucket/Github/outside of Revisr and then use Revisr to pull those changes in.
In other words, since it’s using Git repos, it will detect any sort of file changes on the environment it is installed on. But you can also pull down any changes from a remote repo as needed.
Marking this as resolved, but feel free to let me know if you have any further questions or if I confused your use-case at all. Thanks!
Oh that’s really interesting. So that’s how you get it to synchronize with a certain branch, you put “origin/master” or whatever the branch name is? You put origin and then a slash and then the branch name?
Hi,
Nope :), “origin/master” is just how you would refer to the “master” branch on a remote named “origin” (which is what most remotes are named by default in Git).
If you set up Revisr and are on local branch “master” and have it connected to a fresh Bitbucket repo, and then do a “Push Changes” from within Revisr, it will automatically push to the “master” branch on the remote (which could be referred to as “origin/master”.
But you don’t need to actually specify any of that in Revisr as long as the remote is set up correctly (and you’d see errors when pushing/pulling if not).