Skip to content

Commit

Permalink
use checkout -b in script
Browse files Browse the repository at this point in the history
  • Loading branch information
rafsaf committed Oct 15, 2023
1 parent f94cfe1 commit b7974fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gh_update_dbs_with_pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ else
branch="update-docker-compose-dbs-$timestamp"
git config user.name "GitHub Actions Bot"
git config user.email "<>"
git checkout $branch
git checkout -b $branch
git add .
git commit -m 'update docker-compose.dbs.yml file'
git push -u origin $branch
Expand Down

0 comments on commit b7974fd

Please sign in to comment.