Commit 0d530592 authored by tywldx's avatar tywldx

add git reset --hard

parent 1cd30bd2
......@@ -19,6 +19,7 @@ if [ -n "$project_folder" ];then
cd ./$project_name
git checkout ./
git fetch
git reset --hard
#git pull
if [ -n "$git_branch" ]; then
echo "checkout specified branch $git_branch"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment