Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh -x
- CURRENT=`git branch | grep '*' | awk '{print $2}'`
- MSG="hitting the pause button"
- if [ $# -ne 0 ]; then
- MSG="$1"
- fi
- git add .
- git commit -m "${MSG}"
- git push origin ${CURRENT}
Add Comment
Please, Sign In to add comment