mirror of
https://github.com/chinnkarahoi/jd_scripts.git
synced 2024-06-05 19:32:47 +08:00
用rebase以预防潜在的force push
This commit is contained in:
parent
10c5fb0c54
commit
593ed11764
@ -11,7 +11,7 @@ cd /scripts
|
||||
git remote set-url origin $REPO_URL
|
||||
git reset --hard
|
||||
echo "git pull拉取最新代码..."
|
||||
git -C /scripts pull
|
||||
git -C /scripts pull --rebase
|
||||
echo "npm install 安装最新依赖"
|
||||
npm install --prefix /scripts
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user