解决方法:
1.clone最新一个提交
git clone --depth 1 https://github.com/torvalds/linux.git
2.更新获取完整历史版本[如果需要的话]
git fetch --unshallow
解决方法:
1.clone最新一个提交
git clone --depth 1 https://github.com/torvalds/linux.git
2.更新获取完整历史版本[如果需要的话]
git fetch --unshallow