I am using Git to upload the code into Gitlab but it's throwing some error which are given below.
subrajyoti@subrajyoti-H81M-S:/opt/lampp/htdocs/MeetingRoomBooking/mrb_correct$ git push --all
Password for 'https://Subhraj@git-cms.securecodewarrior.com':
To https://Subhraj@git-cms.securecodewarrior.com/Subhraj/Meeting-room-booking.git
! [rejected] secure -> secure (fetch first)
error: failed to push some refs to 'https://Subhraj@git-cms.securecodewarrior.com/Subhraj/Meeting-room-booking.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.
subrajyoti@subrajyoti-H81M-S:/opt/lampp/htdocs/MeetingRoomBooking/mrb_correct$
Before that I had uploaded the code into my repository. After that I need to create some challenge in cms.securecodewarrior.com
for that when I run the below command it gave me the above error.
1-git checkout -b secure
2-git push --all