Skip to content

Instantly share code, notes, and snippets.

@mbmccormick
Created January 28, 2011 01:59
Show Gist options
  • Save mbmccormick/799680 to your computer and use it in GitHub Desktop.
Save mbmccormick/799680 to your computer and use it in GitHub Desktop.
Standard method for reading command line parameters.
oldhead=$1
newhead=$2
refname=$3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment