git branch -a不显示master分支

ysgd / 2023-05-04 / 原文

一种可能性是新建仓库后,没有对master进行操作,比如,增加文件、删除文件、修改文件等,导致master分支为空,就不显示了。