hotgo/hotgo-server/pull.bat
2022-02-25 17:11:17 +08:00

15 lines
295 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

::强制和远程同步不保留本地修改
::git fetch --all
::git reset --hard origin/master
::git pull
::保存本地修改拉取远程后恢复本地修改
::git stash
::git pull origin master
::git stash pop
::git stash list
::git stash clear
::拉取远程
git pull origin master