gitmux
gitmux copied to clipboard
allow local destinations with no remotes
Fails here: https://github.com/stavxyz/gitmux/blob/master/gitmux.sh#L314-L315
Requested features:
- if destination directory exists and is not a git repository, fail with "[destination] is not a git repository"
- if destination directory doesn't exist, create a new git repository there
- if destination directory exists, is a git repository, but has no remote, don't fail (effectively, same behavior as (2))