بنام خدا
سلام
پس از ایجاد فایل gitignore و تغییرات اعمال شده براساس ویدئو و پس از add کردن و کامیت کردن در لوکال دستور
git push origin master را که میزنم خطای زیر ظاهر میشود:
To https://gitlab.com/Khedmati/rock-2.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://gitlab.com/Khedmati/rock-2.git'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and 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.