[GTALUG] Difference with Git in Windows vs Linux

Bob Jonkman bjonkman at sobac.com
Sat Jun 17 03:11:13 EDT 2017


-----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/ /
> 
> I get an error message stating that this does not appear to be a
> valid repository and to makes sure that I have the correct access
> rights. I get the same results using the git GUI in Windows.
> 
> This is the same folder I have no problem cloning on Linux
> 
> Also if I go into ProjectFolder.git in Git Bash and do a "git
> fetch" command I get the message that it is not a git repository.
> If I look at the ProjectFolder.git it looks like a git repository
> to me, ie. the file structure is correct. I also tried to copy the
> folder to somewhere else , ie. not on Google Drive and it gives the
> same result. Again that same repository clones perfectly on Linux
> so what gives, any thoughts?
> 
> Thanks,
> 
> Jim
> 
> 
> 
> 
> --- Talk Mailing List talk at gtalug.org 
> https://gtalug.org/mailman/listinfo/talk
> 

- -- 
Bob Jonkman <bjonkman at sobac.com>          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-----


More information about the talk mailing list