add branch option
This commit is contained in:
@@ -201,7 +201,7 @@ if [ $usegit = True ] ; then
|
||||
echo -e "\tCloning django project"
|
||||
git init 1>> $gitlogloc 2>> $gitlogloc 3>> $gitlogloc;
|
||||
git remote add origin $giturl 1>> $gitlogloc 2>> $gitlogloc 3>> $gitlogloc;
|
||||
git pull origin master 1>> $gitlogloc 2>> $gitlogloc 3>> $gitlogloc;
|
||||
git pull origin $gitbranch 1>> $gitlogloc 2>> $gitlogloc 3>> $gitlogloc;
|
||||
echo -e "\tInstalling pip requirements"
|
||||
pip install -r requirements.txt 1>> $gitlogloc 2>> $gitlogloc 3>> $gitlogloc
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user