git pull 冲突解决
This commit is contained in:
parent
17c6d4c1b3
commit
44cba1ed8b
@ -16,8 +16,8 @@ hexo server --cwd /hexo -p 80 > /logs/hexo.log 2>&1 &
|
||||
while true;
|
||||
do
|
||||
cd /hexo;
|
||||
git fetch --all;
|
||||
git reset --hard origin/$BRANCH;
|
||||
git fetch --all > /dev/null 2>&1 ;
|
||||
git reset --hard origin/$BRANCH > /dev/null 2>&1 ;
|
||||
git pull > /dev/null 2>&1 ;
|
||||
sleep 5;
|
||||
done
|
||||
Loading…
Reference in New Issue
Block a user