mirror of
https://gitee.com/dromara/orion-visor.git
synced 2026-05-13 20:12:09 +08:00
🔨 更新文件 git-pull.sh
Signed-off-by: hailan1024 <hailan1024@noreply.gitcode.com>
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
#!/bin/bash
|
||||
# 清空
|
||||
git clean -df
|
||||
# 切换到 HEAD
|
||||
git reset --hard HEAD
|
||||
# 拉取远程
|
||||
git pull
|
||||
# 查看日志
|
||||
git log -n 1
|
||||
|
||||
Reference in New Issue
Block a user