查看全局設(shè)置
git config --global --list
設(shè)置全局用戶名、郵箱
git config --golbal user.name YourName
git config --global user.email YourEmail
清除全局用戶名铜邮、郵箱
git config --unset --global user.name
git config --unset --global user.email
修改全局緩存大小
git config http.postBuffer 524288000 // 單位是byte,這里是512MB
-
git fetch
抓取遠(yuǎn)程倉庫的數(shù)據(jù)(自克隆/上一次抓取后的新內(nèi)容) -
git merge
合并 -
git pull
自動(dòng)的抓取然后合并遠(yuǎn)程分支到當(dāng)前分支,相當(dāng)于git fetch + git merge