git远程分支强制覆盖本地分支
从远程获取代码,回退到远程的dev版本,拉取代码
(git fetch --all可以省略)
$ git fetch --all
$ git reset --hard origin/dev
$ git pull
Gumi-21 https://www.cnblogs.com/Gumi-21/p/16666814.html
从远程获取代码,回退到远程的dev版本,拉取代码
(git fetch --all可以省略)
$ git fetch --all
$ git reset --hard origin/dev
$ git pull
Gumi-21 https://www.cnblogs.com/Gumi-21/p/16666814.html