Guest User

Untitled

a guest
Feb 20th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #!/bin/sh -x
  2. CURRENT=`git branch | grep '*' | awk '{print $2}'`
  3. MSG="hitting the pause button"
  4. if [ $# -ne 0 ]; then
  5. MSG="$1"
  6. fi
  7. git add .
  8. git commit -m "${MSG}"
  9. git push origin ${CURRENT}
Add Comment
Please, Sign In to add comment