<div id="post_detail">
<div class="post">
<h2>
<a id="cb_post_title_url" href="https://www.cnblogs.com/nmap/p/9364111.html">从gitlab或者github采用git clone和download zip的区别</a>
</h2>
<div class="postbody">
<div id="cnblogs_post_body" class="blogpost-body"><p>不要做伸手党啊大兄弟,这种问题自己稍加理解就知道答案了,实在想不到就上谷歌搜一下嘛,比如这个:git - Github: difference between Clone in desktop and zip download</p>
"clone" uses git software on your computer to download the source code and it's entire version history.
"download zip" creates a zip file of just the current version of the source code for you to download - the project history is not included.
采用git clone的项目包含.git目录,这里面有历史版本信息
采用下载zip文件的是没有版本历史信息的。只是当前分支的最新版本
本文阐述了通过GitClone获取项目与DownloadZip的主要差异。Clone不仅下载源代码,还包含了完整的版本历史信息;而DownloadZip仅提供当前版本的源代码压缩包,不包括历史版本。
1761

被折叠的 条评论
为什么被折叠?



