> From: talk [mailto:[email protected]] On Behalf Of Bob Jonkman
via
> talk
> Sent: Saturday, June 17, 2017 3:11 AM
> To: Jim Ruxton; GTALUG Talk
> Subject: Re: [GTALUG] Difference with Git in Windows vs Linux
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Looks like an invalid character (a space) in a Windows file name.
> 
> But I've only used git on Windows with some graphical tool, and
> haven't actually run into this problem myself.
> 
> - --Bob.
> 
> 
> On 2017-06-17 03:03 AM, Jim Ruxton via talk wrote:
> > I am having an issue wtih git that is driving me a bit nuts and
> > wondering if anyone has any thoughts. I set up a bare git
> > repository on my Google Drive. I pushed a repository that I created
> > on my Linux machine to it . I can clone it back to another folder
> > on my Linux machine but for some reason I can not clone it to a
> > folder on Windows? The Google Drive folder is set up as a local
> > drive on both machines and seems to work fine. I can copy and read
> > files from it.  locally. I am using Git Bash on Windows. The
> > command I am using to try and clone the repository on the Windows
> > machine in Git Bash is:
> >
> > git clone ~/Google\ Drive/git/ProjectFolder.git/ /

Names with spaces need to be quoted, as in:

        git clone "~/Google Drive/git/ProjectFolder.git/" /

And some folder commands have a hard time with a slash at the end. You
might also try:

        git clone ~/Google\ Drive/git/ProjectFolder.git /

or

        git clone "~/Google Drive/git/ProjectFolder.git" /

I don't use git in Windows, but I live in Windows scripts...

Good luck.

-- 
Jose Dias
jose "dot" dias "at" DiasLan "dot" net

-- snip --

> >
> > Thanks,
> >
> > Jim
> >
> >
> >
> >
> > --- Talk Mailing List [email protected]
> > https://gtalug.org/mailman/listinfo/talk
> >
> 
> - --
> Bob Jonkman <[email protected]>          Phone: +1-519-635-9413
> SOBAC Microcomputer Services             http://sobac.com/sobac/
> Software   ---   Office & Business Automation   ---   Consulting
> GnuPG Fngrprnt:04F7 742B 8F54 C40A E115 26C2 B912 89B0 D2CC E5EA
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
> Comment: Ensure confidentiality, authenticity, non-repudiability
> 
> iEYEARECAAYFAllE1gkACgkQuRKJsNLM5eofqwCfQYTRdSzt6JhLfFJi0Dm/dSGe
> iQMAni/rrRJBrWsctI3F+lRpsZ0IRlmT
> =xY65
> -----END PGP SIGNATURE-----
---
Talk Mailing List
[email protected]
https://gtalug.org/mailman/listinfo/talk

Reply via email to