Xiiiihao's Blog

常用git指令

发布于 # git # tools

 git clone <git_url> -b <分支> 指定目录   # clone specified branch to specified directory


 git fetch --all && git reset --hard origin/master  #recover to specified remote branch