git命令备忘

将项目中引用的其它项目一起clone下来 --recursive

指定clone分支的版本

git clone [git-url] -b [branch-name]

检出指定分支

git reset --hard [commit-number] 

posted @ 2022-01-20 17:36  dongzhaosheng73  阅读(17)  评论(0编辑  收藏  举报