Commit 66d11d53 authored by Aral Balkan's avatar Aral Balkan

Now switching to master branch before creating a new branch.

parent fafd1856
Pipeline #494 skipped
......@@ -249,10 +249,13 @@ checkOutExistingRemoteBranch(){
#
# The branch doesn’t exist. Creates it and populates it with the new tracker draft and pushes it to live.
# The branch doesn’t exist. Create and populate it with the new draft and push it to live.
#
createBranch(){
echo " · Checking out master branch."
runIn $contentDirectory "git checkout master"
echo " · Creating branch ${branchName}."
runIn $contentDirectory "git checkout -b $branchName"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment