I've seen usage of the following git clone syntax
git clone --bare /path/to/repo /path/to/bare/repo.git
However, this doesn't seem to work when the destination is on a remote host. I've tried several formats for the destination—such as prefixing with ssh://, or user@—but all of my attempts have yielded folders created locally.
Obviously, I've found other approaches (https://stackoverflow.com/a/1402783/741970), but is there any way to use the above syntax?