Hi guys,
Using Xcode with git seems to be a really fine solution. But there is one thing I couldn't figure out how to make it.
I want to create a remote repository on an external USB drive, so that I can push my work to the USB drive from time to time to have an external backup. So I created an new repository on my USB drive using the command "git --bare init" inside the folder where I want to store that repository. Then I switched to my projects directory and added the folder with "git remote add TestAppExternal file://Volumes/External/git\ repositories/testapp/". Everything goes fine, but when I want to push my repository to the "remote" repository on my USB drive using the command "git push -u TestAppExternal master", I got the following error message:
fatal: '/External/git repositories/testapp/' does not appear to be a git repository
fatal: Could not read from remote repository.
So - what I'm doing wrong? Will be nice if someone can help me here.
cu
SchodMC
Using Xcode with git seems to be a really fine solution. But there is one thing I couldn't figure out how to make it.
I want to create a remote repository on an external USB drive, so that I can push my work to the USB drive from time to time to have an external backup. So I created an new repository on my USB drive using the command "git --bare init" inside the folder where I want to store that repository. Then I switched to my projects directory and added the folder with "git remote add TestAppExternal file://Volumes/External/git\ repositories/testapp/". Everything goes fine, but when I want to push my repository to the "remote" repository on my USB drive using the command "git push -u TestAppExternal master", I got the following error message:
fatal: '/External/git repositories/testapp/' does not appear to be a git repository
fatal: Could not read from remote repository.
So - what I'm doing wrong? Will be nice if someone can help me here.
cu
SchodMC