2019-05-15 问题现象: 1.GIT本地目录无法pull下远程仓库已新增的内容,一直提示Already up to date 2.git log 命令显示没有远端的tag版本 $git log 3.本地tag数量比远程仓库多git tag 命令查看本地tag数 $git tag 原因分析: (待分析) 2019-05-16 解决方案: 同步远程tag: 1.删除本地全部tag: git tag -l|xargs git tag -d 2.更新下来远程全部tag: git fetch o
1.本地创建一个本地仓库 2.关联远程端:git remote add origin git@github.com:用户名/远程库名.git3.同步远程仓库到本地git pull这个时候会报错If you wish to set tracking information for this branch you can do so with:git branch --set-upstream-to=origin/<branch> master再按提示执行git branch --set-upst