Answer the question
In order to leave comments, you need to log in
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.
[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
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 questionAsk a Question
731 491 924 answers to any question