Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

01.06 Branching

stuindhamma edited this page Jul 29, 2014 · 1 revision

To create a new branch and push it to the Github repo:

# from master
git checkout -b my-awesome-feature
# do work, commit
git push -u origin my-awesome-feature

To deploy to staging using this branch:

invoke deploy.staging.<full|quick> --branch=my-awesome-feature

Once you set a branch, it will stay on that branch until you change it again (you don't need to specify --branch=...).

To delete a remote branch:

git push origin :my-awesome-feature
Clone this wiki locally