config/scripts/br_push.sh

9 lines
123 B
Bash
Raw Normal View History

2019-05-17 12:49:42 +02:00
#!/bin/bash
REMOTE=$(git remote)
BRANCH=$(git branch | grep '*' | sed 's/* //')
git push $REMOTE $BRANCH
exit 0