Hi,

I'm trying to create a remote repository within a directory on a USB drive.

I'm using git-bash on Windows 10 64-bit.

I followed the instructions from the following SO post:

https://stackoverflow.com/questions/43569757/how-to-use-usb-drive-as-remote

The USB frive is on F.

I cd'ed to the path that I want to place the remote repository:

$ CD /F/sys_2017/drv_D/projects/project_01

then:

$ git init --bare git_repo_01


The primary drive is on drive D.

I then cd'ed to the path for the local repository:

$ cd /D/projects/project_01

Then:

$ git remote add usb_repo_01 /F/sys_2017/projects/project_01/git_repo_01

Then:

$ git checkout master
error: pathspec 'master' did not match any file(s) known to git.

I tried this:

$ git worktree list
/D/projects/project_01  0000000 (error)

Can anyone tell me what I've done wrong?

Thanks!


-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to