Skip to content

Instantly share code, notes, and snippets.

@aesnyder
Created January 16, 2013 20:41
Show Gist options
  • Save aesnyder/4550770 to your computer and use it in GitHub Desktop.
Save aesnyder/4550770 to your computer and use it in GitHub Desktop.
#!/bin/bash
BRANCH=`git rev-parse --abbrev-ref HEAD`
echo Pushing $BRANCH to origin/$BRANCH and and origin/gh-pages
git push origin $BRANCH
git push origin $BRANCH:gh-pages
echo Pushed $BRANCH to origin/$BRANCH and and origin/gh-pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment