This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin Git can't Sync File Based Repository
- From: Brian Inglis <Brian dot Inglis at SystematicSw dot ab dot ca>
- To: cygwin at cygwin dot com
- Date: Mon, 16 Oct 2017 13:39:50 -0600
- Subject: Re: Cygwin Git can't Sync File Based Repository
- Authentication-results: sourceware.org; auth=none
- References: <CABdLNwAsuauXGD9-uM_uf29qWSd5XL2SZMrkDqX41Z5APLci9A@mail.gmail.com>
- Reply-to: Brian dot Inglis at SystematicSw dot ab dot ca
On 2017-10-16 12:12, Gary Furash wrote:
> For example, I have a repository that looks like this
>
> [gffurash ~/Documents/Projects/wo219161] $ git remote -v
> origin file://v:/GitSrcCtrl/wo219161 (fetch)
> origin file://v:/GitSrcCtrl/wo219161 (push)
>
> it syncs w/ the remote destination in windows
>
> If I sync from Git Bash (downloaded from the git site) it works fine. If I
> sync from Cygwin GIT, I get the following
>
> fatal: '/GitSrcCtrl/wo219161' does not appear to be a git repository
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights and the repository
> exists
> Trying to create the repository from Cygwin doesn't work either.
>
> [gffurash ~/Downloads] $ git clone /cygdrive/v/GitSrcCtrl/wo219161/
> Cloning into 'wo219161'...
> done.
> [gffurash ~/Downloads] $ touch a
> [gffurash ~/Downloads] $ git add .
> fatal: Not a git repository (or any parent up to mount point /cygdrive)
> Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
For the latter case at least, you need to first cd wo219161.
[Don't you just /love/ shops which organize their code base under random numbers
;^>]
Are you sure you're using Cygwin git - what path does "which git" show?
Have you checked if there is an upgrade to be installed?
Current Cygwin version is git 2.14.2-2.
I've had no problems cloning, fetching, etc. but not pushed recently.
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple