Update launch.sh
Browse files
launch.sh
CHANGED
@@ -28,6 +28,7 @@ function init() {
|
|
28 |
git config --global user.name "git-batch"
|
29 |
git config --global init.defaultBranch main
|
30 |
git init
|
|
|
31 |
git remote add origin https://${github_secret}@github.com/${github_project}.git
|
32 |
git add .
|
33 |
echo "'update data $(date "+%Y-%m-%d %H:%M:%S")'"
|
|
|
28 |
git config --global user.name "git-batch"
|
29 |
git config --global init.defaultBranch main
|
30 |
git init
|
31 |
+
git branch -M main
|
32 |
git remote add origin https://${github_secret}@github.com/${github_project}.git
|
33 |
git add .
|
34 |
echo "'update data $(date "+%Y-%m-%d %H:%M:%S")'"
|