Skip to content

Instantly share code, notes, and snippets.

@jeresig
Created January 24, 2011 22:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeresig/794065 to your computer and use it in GitHub Desktop.
Save jeresig/794065 to your computer and use it in GitHub Desktop.
A shell script for committing to both Sizzle and jQuery simultaneously.
#!/bin/sh
git add test/unit/selector.js sizzle.js
git commit -m "$1"
git push
cp test/unit/selector.js ../jquery/test/unit/
cp test/data/sizzle-jquery.js ../jquery/src/
cd ../jquery
git pull
git add src/sizzle-jquery.js test/unit/selector.js
git commit -m "$1"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment