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;
|
while true;
|
||||||
do
|
do
|
||||||
cd /hexo;
|
cd /hexo;
|
||||||
git fetch --all;
|
git fetch --all > /dev/null 2>&1 ;
|
||||||
git reset --hard origin/$BRANCH;
|
git reset --hard origin/$BRANCH > /dev/null 2>&1 ;
|
||||||
git pull > /dev/null 2>&1 ;
|
git pull > /dev/null 2>&1 ;
|
||||||
sleep 5;
|
sleep 5;
|
||||||
done
|
done
|
||||||
Loading…
Reference in New Issue
Block a user