1

Remote repo has made some changes to project settings (added new folder and changed include path). How do I pull these settings into my repo please? I tried

git pull --rebase origin master

And then build the c++ codebase but the build throws "File not found". Appreciate any help this beginner can get.

user2696565
  • 587
  • 1
  • 8
  • 17

1 Answers1

1

It is indeed git pull origin master but:

  • check first git is recognized in your current shell and $PATH

      git version
    
  • check you are in your local repository

      cd /path/to/local/repo
      git remote -v
      git pull --rebase origin master
    
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Sorry, I wasn't very specific - its the build that throws after pull. git is recognized. May be I somehow need to update include path in my local repo? Thanks for helping. – user2696565 Feb 21 '21 at 09:55
  • 1
    @user2696565 It depends from which folder the build is launched, and if the Makefile is using relative or absolute paths. – VonC Feb 21 '21 at 10:25