From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: Cygwin Git can't Sync File Based Repository
Date: Mon, 16 Oct 2017 19:39:00 -0000 [thread overview]
Message-ID: <1d21bd34-f194-b930-a507-c8280d5c2aab@SystematicSw.ab.ca> (raw)
In-Reply-To: <CABdLNwAsuauXGD9-uM_uf29qWSd5XL2SZMrkDqX41Z5APLci9A@mail.gmail.com>
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
prev parent reply other threads:[~2017-10-16 19:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-16 18:12 Gary Furash
2017-10-16 19:39 ` Brian Inglis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1d21bd34-f194-b930-a507-c8280d5c2aab@SystematicSw.ab.ca \
--to=brian.inglis@systematicsw.ab.ca \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).