rud (owner)

Fork Of

Revisions

  • 5d43f6 rud Mon May 04 12:42:52 -0700 2009
  • 34179b ReinH Tue Nov 25 08:43:58 -0800 2008
  • 39373b ReinH Fri Aug 29 11:17:52 -0700 2008
  • 931c38 ReinH Thu Aug 28 10:02:13 -0700 2008
  • dd99ab ReinH Wed Aug 27 19:26:34 -0700 2008
gist: 106621 Download_button fork
public
Description:
ship, from http://reinh.com/blog/2008/08/27/hack-and-and-ship.html
Public Clone URL: git://gist.github.com/106621.git
Embed All Files: show embed
Bash #
1
2
3
4
5
6
7
#!/bin/sh -x
# git name-rev is fail
CURRENT=`git branch | grep '\*' | awk '{print $2}'`
git checkout master || exit 1
git merge ${CURRENT} || exit 1
git push origin master
git checkout ${CURRENT} || exit 1