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