I have my first acquaintance with git through a class that I accept. I have several files in a directory on my computer and I can create and transfer them without problems. However, when I try to transfer files to my github repository, I keep getting this message:
Pushing to https://github.com/BigMeanCat/CMDA To https://github.com/BigMeanCat/CMDA ! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://github.com/BigMeanCat/CMDA' 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: (eg, 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Can someone help me what it means and how to fix it? I saw several people with similar problems on the Internet, but I NEEDED git and was not good enough at the git command line language. I do not dare to accept certain proposals, as I do not know whether he will solve the problem or aggravate it.
Thanks!
source share