trilbymedia / grav-plugin-git-sync

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

Add posibility to syncronize only in one direction #224

Open ViliusS opened 1 year ago

ViliusS commented 1 year ago

This patch adds a configuration switch to enable one-way (pull only) synchronization. This is useful in cases where git master repository is protected from direct pushes, e.g. all changes must come via pull requests.

ViliusS commented 10 months ago

Ping?

brendanpetty commented 2 months ago

I'd love this feature too. Could even be extended in the future to show a 'diff' of local changes and/or ability to reset/overwrite. @rhukster will this be merged into the plugin?