Commit 242deac8 authored by tywldx's avatar tywldx

remove feetch

parent 74fba317
......@@ -18,7 +18,7 @@ if [ -n "$project_folder" ];then
sh $config_server/show_info.sh $project_name pull代码 $desc $3
cd ./$project_name
git checkout ./
git fetch
git fetch -p
#git pull
if [ -n "$git_branch" ]; then
......@@ -38,7 +38,7 @@ if [ -n "$project_folder" ];then
echo "current branch: $git_branch"
# git pull
fi
echo "git reset FETCH_HEAD --hard"
git reset FETCH_HEAD --hard
else
desc=`node $config_server/get_project_config.js -name $project_name -attr desc`
......
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