Created
July 3, 2016 15:46
-
-
Save recall704/23fb07b0271376e10f079125a82bbd75 to your computer and use it in GitHub Desktop.
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 | |
docs_dir=/home/recall/docker_data/nginx/scrapy-docs-cn | |
git=/usr/bin/git | |
branch=master | |
cd $docs_dir | |
$git reset --hard origin/$branch | |
$git clean -f | |
$git pull | |
echo 'ok' |
Author
recall704
commented
Jul 4, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment