Update roles/home/scripts/commits.sh
This commit is contained in:
parent
b0080ad5e9
commit
91d7bcbab1
@ -26,6 +26,8 @@ create_pr_from_files() {
|
||||
local commit_message=""
|
||||
local new_branch="pr-$(date +%Y%m%d%H%M%S)"
|
||||
|
||||
git checkout "${origin_branch}"
|
||||
|
||||
git checkout -b "$new_branch"
|
||||
git add "${files[@]}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user