borgmatic/scripts/push
2019-02-18 13:51:33 -08:00

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"