Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to push to azure app service from a branch other than master?

I'm deploying my NodeJS app to azure app service (B1) using local git repository, how do I push from a branch other than master?

like image 363
mark adel Avatar asked Oct 10 '17 21:10

mark adel


1 Answers

You could use git push azure <branch-name>:master. If you've already checkout on the branch you want to push, use git push azure HEAD:master. This command will push your current working commit to Azure.

git push aaa xxx:yyy means push local branch xxx to remote repository aaa's yyy branch.

like image 182
Gao Shenghan Avatar answered Sep 27 '22 20:09

Gao Shenghan