Last active
August 29, 2015 14:10
-
-
Save manjeshpv/47b26ac21d0ab254247f to your computer and use it in GitHub Desktop.
Git Production Automation
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 | |
echo "Starting copy from repository to work tree..." | |
git --work-tree=/d/push-to-deploy/production checkout -f master | |
echo "Finished." | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment