delagoya (owner)

Revisions

gist: 16101 Download_button fork
public
Description:
pause git script
Public Clone URL: git://gist.github.com/16101.git
Embed All Files: show embed
pause #
1
2
3
4
5
6
7
8
9
10
#!/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}