12 2020 档案
摘要:使用git fetch更新远程仓库 在本地新建一个tmp分支,并将远程origin仓库的master分支代码下载到本地tmp分支 git fetch origin master:tmp 比较本地代码与所下载代码的不同之处 git diff tmp 合并tmp分支到本地的master分支 git me
阅读全文
摘要:使用git拉取远程项目 首先,打开git bash后,进行基础配置,配置用户名和邮箱,即告诉git你是谁,输入的信息将出现在创建的提交中 git config --global user.name "名字或昵称" git config --global user.email "邮箱" 然后执行以下命
阅读全文