I
I
IliaMal2020-06-08 13:18:08
git
IliaMal, 2020-06-08 13:18:08

Why doesn't push to git work?

Hello.

There is a site with a repository on gitlab.com

4 months ago everything worked correctly.
For a long time I did not upload changes, now I decided to update the data on gitlab, but failed.
The sequence of commands is:
git status - displays new and changed files
git add .
git commit -m "update"
git pull wisell master the answer is:

From gitlab.com:wisell/wisell
 * branch            master     -> FETCH_HEAD
Already up-to-date.

git push wisell master - but judging by the amount and time of the downloaded data, it looks like the project is being uploaded again. As a result, the process was interrupted due to a large amount of data.
5ede0de271bed325763203.png

I'm attaching the config, maybe something is wrong here:
[core]
  repositoryformatversion = 0
  filemode = false
  bare = false
  logallrefupdates = true
[remote "old-origin"]
  url = /var/www/wisell.ru/wisell.git
  fetch = +refs/heads/*:refs/remotes/old-origin/*
[branch "master"]
  remote = wisell
  merge = refs/heads/master
[remote "origin"]
  url = [email protected]:itc/wisell.git
  fetch = +refs/heads/*:refs/remotes/origin/*
[remote "wisell"]
  url = [email protected]:wisell/wisell.git
  fetch = +refs/heads/*:refs/remotes/wisell/*

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
smilingcheater, 2020-06-08
@IliaMal

As far as I understand, there is a lot of changes in the git. Try to split the push into 2 - make a branch from some intermediate commit (intermediate between your master and the one on gitlab), push it. Then push the current master.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question