| been wanting to build something very similar, so sharing some notes (before actually getting to test it): --dry-run a "push" subcommand?
(especially in combination with 'overwrite to local repository-path" mentioned below, for remotes rater useless sure ;)) also your readme leaves "kinda open" what happens with the actual file(s),
`.git-remote-files` is mentioned "should be committed", but the file it cloned? also a little unclear how `--save` plays into that (since the .git-remote-files example shows only a commit no branch)
(and when would one ever run it without save?) cli-arg/secondary `.git-remote-files`-File
(possibly as secondary `.local.git-remote-files` or such that can also override repository-URLs)
for local/private repos? option (autodetect?) to also write gitattributes to mark those picked files binary
(what may also be done into the repo, or local-only into the .git/ dir of the repo...) since its called `git-fetch-file` and not `.git-remote-files` a overall comment may be nice as refence when first generating the file ;) but by now i´m just rambling, looking forward to actually try it when home ;)
thanks in advance |
I'll thinking about what would be some nice output for --dry-run. Do you have a desired behavior? Maybe something like this?
Push seems kinda neat for getting changes back to a remote!I will try to make the README.md a little more clear about what happens after `pull`, because you're right, it's not specified, but files aren't actually committed, just placed in the directory for you to do as you please.
I like your ideas! Thank you!