My Setup:
OS: Windows 8 x64
I use these VCS: msysgit https://msysgit.github.io/
and TortoiseGit: https://tortoisegit.org/
Server: Zend Server (LAMP) for Windows
So Git Checked-out around 60 MiB, the rest was Vendors stuff. So it just stuck. And did not checked out whole 300 MB
Erorr reported by "msysgit" (Windows Git+):
"C:\Program Files (x86)\Git\bin\git.exe" clone -v --recurse-submodules --progress "ssh://user@git.website.com:12345/REPOName" "C:/<...>/SiteName/REPOName"
Cloning into 'C:/...>/SiteName/REPOName'...
FATAL ERROR: Network error: Software caused connection abort
remote: Total 21679 (delta 13490), reused 21627 (delta 13490)[K
No submodule mapping found in .gitmodules for path 'main/src/vendor/assetic'
Done
'main/src/vendor/assetic'
Done
It is checking out OK all 300 MiB on Ubuntu 12 Server Edition with Git installed (apt-git)
But on Windows it stucks at 60 MiB with both TortoiseGit and msysgit. Is there is any way how I can skip 'submodules' to checkout, or to fix this issue. Maybe I should add submodules to .gitignore?
UPDATE:
So there is no <..>/ProjectName/REPOName/.gitmodules file, but there is a <..>/ProjectName/REPOName/.git/config file.
The content of .git/config is this (ant it works for Ubuntu's Git, but not Windows Git's):
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[remote "origin"]
url = ssh://USER@git.SITENAME.com:12345/REPOName
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
Should I create a blank hidden ".gitmodules" file and should I try to copy-paste the content to that file, or anyone know what the content suppose to be of .gitmodules.