Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我下载了一个源代码包。它接近 3GB。但它是一个空目录,只包含一个.git目录。如何从中签出代码?
git reset --hard
如果目录实际上是 repo.git,那么
git clone repo.git repo
利用:
git clone ./directoryofRepo ./WorkingDirectory