merge dev into dev
🔨 更新文件 git-pull.sh Created-by: hailan1024 Commit-by: hailan1024 Merged-by: lijiahangmax Description: 🔨 更新文件 git-pull.sh See merge request: dromara/orion-visor!20
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# 清空
|
||||||
git clean -df
|
git clean -df
|
||||||
|
# 切换到 HEAD
|
||||||
git reset --hard HEAD
|
git reset --hard HEAD
|
||||||
|
# 拉取远程
|
||||||
git pull
|
git pull
|
||||||
|
# 查看日志
|
||||||
git log -n 1
|
git log -n 1
|
||||||
|
|||||||
Reference in New Issue
Block a user