1、指定版本:
git log 看一下hash。然後 git checkout hash值就可以
2、指定分支: git clone xxx.git --branch 分支名
3、回滾版本:
3、1、重置到指定版本號的提交:
git reset --hard hash值
3、2、強制提交:
git push -f origin master
感謝:https://www.toutiao.com/i6596959883432559117/
1、指定版本:
git log 看一下hash。然後 git checkout hash值就可以
2、指定分支: git clone xxx.git --branch 分支名
3、回滾版本:
3、1、重置到指定版本號的提交:
git reset --hard hash值
3、2、強制提交:
git push -f origin master
感謝:https://www.toutiao.com/i6596959883432559117/
繼續運行 🥋 回憶上次內容 上上次 真寫了 萬行 代碼 這 萬行 代碼 都是寫在 明面 上的 這次 使用git命令 下載了 github上面的倉庫