unfortunately, the archive you sent contains to useful data, there are a couple of empty directories only. However, judging from the screenshot, the push is not possible just because there is no ‘master’ branch in the repository. The same comes from the archive you sent – the directory structure looks like a Git repository directory structure, but it’s empty that means there are no references at all in the repository. And by the way, there are no single SubGit file or directory in the archive – if you archived the whole repository, then this fact means the repository was definitely configured incorrectly. Even empty GitLab repository (just created in GitLab UI) contains some references, and of course, SubGit adds more file, folders and references to the repository, so it looks like repository was somehow cleared or you are accessing incorrect directory on GitLab server.
I don’t understand your setup at all: as I mentioned, a new GitLab repository has “master” branch from the very beginning, right after the GitLa repository is created in GitLab UI. Moreover, if you installed SubGit in this repository, there must be some additional files and references. But you sent me a zip file that contains no files at all; and the screenshot states there’s no “master” in the repository – and that means the directory you trying to push to is empty. I have no idea how has this happened, my assumption is that you are dealing with incorrect directory, but that’s just a guess, I have no information at all to say for sure. It’s surely possible to translate SVN repository to GitLab, but definitely something is configured not right. To find out what exactly is incorrect, please describe in details all the steps you took to translate this repository to GitLab – I mean, start from the GitLab repository creating and please mention all the details, like names and paths you set and commands you ran.
The following command worked for one repository but did not work for another repository:
git push origin --all --follow-tags
I followed the same set of steps but got following output:
Amits-MacBook-Pro:BAJ_EMI_TEST.git amitraj$ git push origin --all --follow-tags
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch.
fatal: the remote end hung up unexpectedly
Everything up-to-date
This means the SubGit repository you are trying to push from is empty. Most probably SubGit configuration in this repository is incorrect and SubGit hasn’t imported any data because of this.
Thanks for your response. Can you please tell me how can I backup of GitLab group with its history where there are more than 50 repositories in it?
GitLab is not installed on my Mac, I am accessing it on browser only.