git pull
git clone
clone 是本地没有 repository 时,将远程 repository 整个下载过来。
pull 是本地有 repository 时,将远程 repository 里新的 commit 数据(如有的话)下载过来,并且与本地代码merge。
note:git pull相当于git fetch和git merge。
其意思是先从远程下载git项目里的文件,然后将文件与本地的分支进行merge。
git pull
git clone
clone 是本地没有 repository 时,将远程 repository 整个下载过来。
pull 是本地有 repository 时,将远程 repository 里新的 commit 数据(如有的话)下载过来,并且与本地代码merge。
note:git pull相当于git fetch和git merge。
其意思是先从远程下载git项目里的文件,然后将文件与本地的分支进行merge。
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。