gitmux
gitmux copied to clipboard
A git repository multiplexer. A monorepo surgeon?
https://docs.github.com/en/rest/reference/pulls#merge-a-pull-request
current state: if the destination repository needs to be private, it needs to be created in advance as such desired state: provide a flag, like -p to create a private...
[it does not...](https://www.cnet.com/news/microsofts-github-is-removing-coding-terms-like-master-and-slave/) ``` Switched to a new branch 'update-from-master-f6a2b77-rebase-strategy-ours' ⛔ gitmux execution failed. ⏩ Error at line 574. fatal: invalid upstream 'destination/master' Invalid upstream. Does 'master' exist in 'https://github.com/scottstav/scotty-api'?...
> -c Create the destination repository if it does not exist. Requires `hub`. (default: off)
Fails here: https://github.com/stavxyz/gitmux/blob/master/gitmux.sh#L314-L315 Requested features: 1) if destination directory exists and is not a git repository, fail with "[destination] is not a git repository" 2) if destination directory doesn't exist,...