Skip to main content
added command with explicit Windows path; edited body
Source Link
jfs
  • 417.1k
  • 210
  • 1k
  • 1.7k
$ git clone --no-hardlinks /path/to/repo 

The above command uses POSIX path notation for the directory with your git repository. For Windows it is (directory C:/path/to/repo contains .git directory):

C:\some\dir\> git clone --local file:///C:/path/to/repo my_project 

The repository will be clone to C:\some\dir\my_project. If you omit file:/// part then --local option is implied.

$ git clone --no-hardlinks /path/to/repo 
$ git clone --no-hardlinks /path/to/repo 

The above command uses POSIX path notation for the directory with your git repository. For Windows it is (directory C:/path/to/repo contains .git directory):

C:\some\dir\> git clone --local file:///C:/path/to/repo my_project 

The repository will be clone to C:\some\dir\my_project. If you omit file:/// part then --local option is implied.

Source Link
jfs
  • 417.1k
  • 210
  • 1k
  • 1.7k

$ git clone --no-hardlinks /path/to/repo