skip to Main Content

When changes are pushed from local to remote server error "Try running ‘Pull’ first to integrate your changes"

2

Answers


  1. Chosen as BEST ANSWER

    In your Visual Studio Code, go to the three dots here:

    dots

    Hover over the "push, pull" option and click on the "pull from" option. Then select your remote repository and then branch. Now push the changes again.


  2. use git pull first to merge remote changes

    1. press control+ ~
    2. type the following command
    git pull
    

    or just use vscode

    enter image description here

    PS:
    you really need to learn the basics of git

    getting started about git

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search