Last active
December 27, 2015 17:09
-
-
Save stephencroberts/7360502 to your computer and use it in GitHub Desktop.
Dev git post-merge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Apply stash to restore local develop.sql (or other changes) | |
git stash apply | |
git stash drop | |
# Which branch are we on? | |
branch=`git rev-parse --abbrev-ref HEAD` | |
php -f setup.php "$branch" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment