borgmatic/scripts/push

9 lines
137 B
Plaintext
Raw Normal View History

2017-10-28 04:51:10 +00: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"