Skip to content

Instantly share code, notes, and snippets.

@manjeshpv
Last active August 29, 2015 14:10
Show Gist options
  • Save manjeshpv/47b26ac21d0ab254247f to your computer and use it in GitHub Desktop.
Save manjeshpv/47b26ac21d0ab254247f to your computer and use it in GitHub Desktop.
Git Production Automation
#!/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