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 origin --prune