ghsync
ghsync copied to clipboard
disable commits
This is interesting, might try it out. Thoughts on a mode to disable commits (ignore changes on local) and only pull down changes detected on github repo? I have a situation where that control in some cases would be useful.
@sull I think you can ignore all changes on local by configuring repos[].ignores
in ~/.config/ghsync/default.yml like below:
repos:
- remote: {owner}/{repo}
local: /path/to/local/repo
ignores:
- **
Please try it.
FYI, repos[].ignores
is an anymatch-compatible definition.