4 ms·
I suspect many who always use git remotely don't know that you can easily work with local repositories as well using the file protocol, git clone file:///path/
by cycomanic 1y ago
I suspect many who always use git remotely don't know that you can easily work with local repositories as well using the file protocol, git clone file:///path/to/repository will create a clone of the repository at the path.
I used that all the time when I had to move private repositories back and forth from work, without ssh access.
- lionkor 1y agoyou don't need to specify the protocol. For file protocol, just type a path. For ssh, type a ssh connection string like lion@myserver.test:path/to/file