What is the problem? Public key set up.

$ git push origin master To https://github.com/merrymaker14/uploadca.git ! [rejected] master -> master (fetch first) error: failed to push some refs to https://github.com/merrymaker14/uploadca.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushin 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. 

    1 answer 1

    There are changes in the repository on the server, which appeared there after you were inclined. Most likely, someone is already pushing changes into it. To avoid conflicts in the future, the system does not allow you to push your changes until you update the repository.

    You need to first download the changes to yourself locally:

     git pull 

    In case of conflicts, resolve them, after which the system will allow you to perform git push .

    • @TimurMusharapov what exactly did? You have not resolved the conflict. - Flowneee
    • Entered as a git pull command - Timur Musharapov
    • @TimurMusharapov what did you write after typing git pull? - torokhkun
    • That wrote in the first comment. - Timur Musharapov
    • @TimurMusharapov in your first comment says that you have completed the git push origin master, and you need to first perform a git pull - torokhkun