[英]why i can't see the new remote branch on my localhost after git fetch --all?
默認情況下, git branch
僅顯示您的本地分支。 使用git branch -r
顯示遠程跟蹤分支,或git branch -a
顯示所有品牌。
解決方案是,在執行git fetch --all
之后,您必須執行git switch NameOfNewBranch
以切換到新的遠程分支並進行處理。
感謝科拉申!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.