Overview: Git and Looker


(Margaret Rosas) #1

For information on using Git with Looker, see this page in our documentation.

Looker integrates with Git services (e.g. GitHub, GitLab, Bitbucket, Phabricator Diffusion) for LookML source code management. Each LookML project corresponds with a Git repository. Looker uses Git to record changes and manage file versions.

Starting in 3.20, we have changed the workflow behind the scenes for LookML code deployments to include developer branches as described below:

  • Each user’s developer mode now correlates to a branch
  • Commit Changes will sync changes with Git service
  • Deploy to Production will update production environment by merging that branch to master

What does Deploy to Production mean? (3.20+)
How to revert pull requests from Looker via Github (3.20+)
Looker 3.20 Release Notes
(Y Duan) #2

Is it possible to point production to a different branch, like release branch, than master?

(Ryan Dunlavy) #3

Hey @Y_Duan,

It is not currently possible to point production to a branch other than master, but this is an option that the product team is looking into adding. I will let them know you are looking forward to having that option!


Hi @ryan.dunlavy,

Has there been any update on this?

(Jonathan Hester) #5

Hi Far,

There is no definitive timeline set on this request as of yet but I can see Friartuck’s interest in this feature has been mentioned in the request to the product guys. We will let you know if the status changes!


(Alexis CHARRIER) #6

Hello guys,

Any news about the ability to point production to a different branch than master ?
It would be great to unlink production version from master and merge master to production only when needed.



(Izzy) #7

That feature request is being tracked here: Set Production branch to something other than master.
@yuriy has also posted a clever workaround in that thread, check it out.