forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
33147570df
commit
44fd2558ff
4
push.sh
4
push.sh
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
if ! git switch "${date}"; then
|
||||
git switch -c ${date} origin/main
|
||||
git switch -c ${date}
|
||||
fi
|
||||
|
||||
date="$(date +%Y-%m-%d)-test"
|
||||
|
@ -10,7 +10,7 @@ set -x
|
|||
git add . && \
|
||||
git commit -m "${date}: ${changedfiles}" && \
|
||||
git pull --rebase upstream main && \
|
||||
git push -f origin && \
|
||||
git push --set-upstream origin origin/main && \
|
||||
git switch main
|
||||
|
||||
exit
|
||||
|
|
Loading…
Reference in New Issue
Block a user