Commit 0d530592 authored by tywldx's avatar tywldx

add git reset --hard

parent 1cd30bd2
...@@ -19,6 +19,7 @@ if [ -n "$project_folder" ];then ...@@ -19,6 +19,7 @@ if [ -n "$project_folder" ];then
cd ./$project_name cd ./$project_name
git checkout ./ git checkout ./
git fetch git fetch
git reset --hard
#git pull #git pull
if [ -n "$git_branch" ]; then if [ -n "$git_branch" ]; then
echo "checkout specified branch $git_branch" 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