How can I direct the branch of my GitHub project repo project to the Moovweb cloud?

I use GitHub and push the main branch of my repo on the Mouvevo cloud. I began to branch out my project.

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

Thanks!

+4
source share
2 answers

In fact, you need to push a new branch to deal with it. The Moovweb cloud will not compile other branches. It is not intended to host a repository for hosting code, but rather for use both for testing and deployment.

Thus, the code will look like this:

git push origin my_branch:master 

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

+5
source

Assuming your remote repository in Moovweb Cloud is the "source" in your local repository:

 git push origin my_new_local_branch 

will push and create a new branch in the remote repository.

+3
source

All Articles