borgmatic/scripts/push

9 lines
137 B
Bash
Executable File

#!/bin/bash
set -e
branch_name=$(git rev-parse --abbrev-ref HEAD)
git push -u github "$branch_name"
git push -u origin "$branch_name"