Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I push a branch of my GitHub project repo to the Moovweb Cloud?

Tags:

github

moovweb

I am using GitHub and have been pushing the master branch of my repo to the Moovweb Cloud. I have started branching my project.

How can I push a specific branch to the Moovweb Cloud?

Thanks!

like image 293
mmb124 Avatar asked Feb 17 '23 21:02

mmb124


1 Answers

Actually, you need to push the new branch to master. The Moovweb Cloud doesn't compile other branches. It's not meant to serve as a code hosting repository but rather to be used for testing and deployment.

So the code would be:

git push origin my_branch:master

This takes your "my_branch" branch and pushes it to master. You may need to add a "-f" to force push it over the last build.

like image 87
nmakiya Avatar answered Feb 19 '23 11:02

nmakiya