File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/devcontainers/base/src/.devcontainer/nhsnotify Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ echo "Cloning $REPO into $DEST"
1212
1313REPO=https://github.com/NHSDigital/nhs-notify-repository-template.git
1414DEST=$HOME /nhsengland/repository-template
15- UPDATE_BRANCH=updating-the-default-files
15+ CURRENT_TIMESTAMP=$( date +%Y%m%d%H%M%S)
16+ UPDATE_BRANCH=" updating-the-default-files-%$CURRENT_TIMESTAMP "
1617
1718mkdir -p $DEST
1819echo " created destination directory $DEST "
@@ -36,10 +37,10 @@ git switch -C $UPDATE_BRANCH
3637
3738git add .
3839export GPG_TTY=$( tty)
39- git commit -m " Update default files from $REPO " || echo " No changes to commit"
40+ # git commit -m "Update default files from $REPO" || echo "No changes to commit"
41+ # git switch $CURRENT_BRANCH
42+ # git merge $UPDATE_BRANCH -m "Merge default files from $REPO"
4043
41- git switch $CURRENT_BRANCH
42- git merge $UPDATE_BRANCH -m " Merge default files from $REPO "
4344echo " $REPO template complete"
4445
4546echo " adding gpg tty to zshrc"
You can’t perform that action at this time.
0 commit comments