只获得一个commit id的内容 git remote add [nick_name] [url] git fetch [nick_name] [commit_id] git reset --hard FETCH_HEAD