My Technical Notes

Wednesday, 7 June 2017

Git - Cloning a UNC Path

On Windows you use backslashes for UNC paths:


\\server\folder\subfolder\repo.git\

To `clone` such a repository, use use the path with forward-slashes instead but with no ending slash:


git clone //server/folder/subfolder/repo.git

No comments: