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

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?

Solved Solved
0 1 266
1 ACCEPTED SOLUTION

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

View solution in original post

1 REPLY 1

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