legacy/git.sh

7 lines
113 B
Bash
Executable File

#!/bin/sh
BRANCH=$(git branch |grep \* | cut -d " " -f2)
git add .
git commit -m "sync"
git push origin $BRANCH