Hi,
I had created a branch from a previously existing repository, added some folders and files with "git add" then committed and trying to push. I cloned the branch only with depth=1. I got stuck, someone please help.
$ git push origin MissionPlanningCode
Enumerating objects: 3777, done.
Counting objects: 100% (3777/3777), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3598/3598), done.
Writing objects: 100% (3776/3776), 237.96 MiB | 3.44 MiB/s, done.
Total 3776 (delta 1228), reused 196 (delta 149), pack-reused 0
remote: Resolving deltas: 100% (1228/1228), done.
To http://jira.tataadvancedsystems.com:7990/scm/iews/iews_mission_planning.git
! [remote rejected] MissionPlanningCode -> MissionPlanningCode (unable to migrate objects to permanent storage)
error: failed to push some refs to 'http://jira.tataadvancedsystems.com:7990/scm/iews/iews_mission_planning.git'
Hi @Dipen Pal,
It might be a permission issue. Check out this question and answers to it on stackoverflow.
Some objects in the repo may be owned not by the user you're trying to push with. In this case, try the commands chmod/chown in this repo.
I checked; permissions are ok (I have R/W permission).
Some progress:
If I fully clone i.e. without depth parameter, I am able to push in repo. But cloning around 17GB of data is too much and time consuming. It fails after the whole day showing some network error. Actual code data is around 2GB.
So, can't we reduce the data size?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.