search

Home  >  Q&A  >  body text

Problems with git push to remote?

I have obviously synchronized the remote data to the local through the pull operation. Why does it still report an error when I push, saying that my local version is not as new as the remote version?

Please give me some guidance, thank you!

阿神阿神2794 days ago560

reply all(5)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-02 09:36:40

    git pulldown

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-02 09:36:40

    Confirm to add ssh and execute git remote add origin

    reply
    0
  • 迷茫

    迷茫2017-05-02 09:36:40

    The pull operation was not successful.

    Try firstgit pull origin masterthen push

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-02 09:36:40

    git push -u origin master -f

    reply
    0
  • PHP中文网

    PHP中文网2017-05-02 09:36:40

    pull is unsuccessful, first execute `
    git pull --all

    reply
    0
  • Cancelreply