Hi, it looks like your problem it's not related to adding a new remote
repo. Check that your local repo it's ok (looks like you don't have any
commit on it).
El jue., 1 de feb. de 2018 a la(s) 00:19, Ray Bowman <
raybowman20...@gmail.com> escribió:
>
> 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 000 (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 git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
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 git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.