public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin Git can't Sync File Based Repository
@ 2017-10-16 18:12 Gary Furash
  2017-10-16 19:39 ` Brian Inglis
  0 siblings, 1 reply; 2+ messages in thread
From: Gary Furash @ 2017-10-16 18:12 UTC (permalink / raw)
  To: cygwin

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).


-- gary furash | furashgary@gmail.com, 520-907-2470

--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cygwin Git can't Sync File Based Repository
  2017-10-16 18:12 Cygwin Git can't Sync File Based Repository Gary Furash
@ 2017-10-16 19:39 ` Brian Inglis
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Inglis @ 2017-10-16 19:39 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-16 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-16 18:12 Cygwin Git can't Sync File Based Repository Gary Furash
2017-10-16 19:39 ` Brian Inglis

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).