trilbymedia / grav-plugin-git-sync

Collaboratively Synchronize your Grav `user` folder hosted on GitHub, BitBucket or GitLab
Apache License 2.0
239 stars 57 forks source link

Other Branches? #192

Closed OldManUmby closed 3 years ago

OldManUmby commented 3 years ago

Will this plugin work with other branches besides 'master'? ... I need to sync to/from a branch called 'work-in-progress' ... but I cannot get it to work. The branch 'work-in-progress' exists already.

Suggestions?

Screen Shot 2021-02-25 at 2 36 03 PM

Screen Shot 2021-02-25 at 2 18 57 PM

OldManUmby commented 3 years ago

Also, I have the auto-syncing set to off when I save and such, but I get the same error message, meaning it is still checking or trying to save to git anyway.

Screen Shot 2021-02-25 at 7 39 14 PM

Louson commented 3 years ago

Same here using 'main' which is my default branch on gitlab. Two following configs fail:

While giving master/master works

fm commented 3 years ago

@Louson your issue may be related to #183, try the fix suggested there

Louson commented 3 years ago

It's related indeed

w00fz commented 3 years ago

See my comment https://github.com/trilbymedia/grav-plugin-git-sync/issues/183#issuecomment-821722119