borgmatic/scripts/push

9 lines
137 B
Text
Raw Permalink Normal View History

2017-10-28 05:51:10 +01:00
#!/bin/bash
set -e
branch_name=$(git rev-parse --abbrev-ref HEAD)
git push -u github "$branch_name"
git push -u origin "$branch_name"