0

error: failed to push some refs to in gitlab

when i try push my files into my git repository it shows some thing like this

Admin-PC MINGW64 /E/GIT-PJT (master)
$ git push origin master
To ssh://192.168.5.108:2565/root/my-project.git
 ! [rejected]        master ->  master (fetch first)
error: failed to push some refs to ' ssh://git@192.168.5.108:27692/root/my-project.git' 
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., ' git pull ...' ) before pushing again.
hint: See the ' Note about fast-forwards'  in ' git push --help'  for details.

how to solve this issue........?

vertonskjelvic
asked Nov 24, 2017
3 Answer
0

Thanks, Arunkumar. It helped me a lot.

View More
Deep
answered Apr 3, 2018
0

Thanks a lot you saved my time

View More
jamessiva
answered Sep 10, 2018
0

sometime time when you to push some files to gitlab repository this kind of error will comes. i also face this type of error when i push my first files into git repository and i solved by below steps...

git pull --rebase origin master
git push origin master
View More
arunkumarak
answered Nov 27, 2017
Your Answer
||||
x
 
100:0

Related News in error: failed to push some refs to in gitlab

Related News in error: failed to push some refs to in gitlab