How could I perform a "Pull Remote Changes" using the API?

  • 27 October 2021
  • 1 reply

Hi all,

We are trying to use a private GitHub repo for keeping track of our code. I have already setup a web-hook which works fine for changes to the master branch. My issue is that while I can create a new branch from GitHub and it gets picked up by looker, any pushes that I perform against that new branch are not tracked by looker. 

Right now the only way I have to pickup such changes is to go in the Looker UI and click “Pull Remote Changes".

Is there a way to automate this process. So that when a pull is perform on a non-master brach those changes are reflected in Looker?


Best answer by leo_deel 27 October 2021, 13:23

View original

This topic has been closed for comments

1 reply

Got it. The function reset_project_to_remote() does just that!