Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to Pull from a GitHub Branch in Google Dataform (Development Workspaces)?

Hello!

I've set up a repository in Google Dataform and successfully connected it to GitHub. After creating a development workspace, I can only pull from the default branch and don’t see any option to pull from other branches (e.g., your-branch-name).

According to the Dataform documentation on version control (version-control-your-code), this should be possible, but I am unable to see this option in the UI.

Is there a way to pull from branches other than the default branch into my development workspace in Google Dataform?

Thanks in advance for your assistance!

#google-dataform

1 4 685
4 REPLIES 4

Hi @Abdulsalam94,

Welcome to Google Cloud Community!

You're right, the Dataform documentation does show you that you should be able to pull from non-default branches directly within your development workspace. If you can’t see the Pull option in the console, there’s a good chance that your development workspace and your non-default branch are already on sync.

Here’s a workaround that you can do:

  • Try to make a simple change from your development workspace and see if the pull option will display in the UI.
  • Try to remove and re-attach the required role of your account to see if it will solve the issue.

I hope the above information is helpful.

Hi @NorieRam ,

Thank you for your response.

I tried both suggestions, but unfortunately, they didn’t work.
When I create a new development workspace,  we should be seeing the option to pull from non-default branches as well, but it never appears. Only from the default branch! 

 

+1, same issue here

+1