mirror of
https://github.com/borgmatic-collective/borgmatic.git
synced 2026-08-01 06:03:02 +02:00
Update push script to support branches.
This commit is contained in:
+4
-2
@@ -2,5 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
git push -u origin master
|
||||
git push -u github master
|
||||
branch_name=$(git rev-parse --abbrev-ref HEAD)
|
||||
|
||||
git push -u github "$branch_name"
|
||||
git push -u origin "$branch_name"
|
||||
|
||||
Reference in New Issue
Block a user