Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I am facing issue while git push into central repository

Dipen Pal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 18, 2024

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'

1 answer

0 votes
Kseniia Trushnikova
Community Champion
September 20, 2024

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.

Dipen Pal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 1, 2024

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?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events