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刪除。