Git Branch Exists on Remote But Won't Show Locally
If a git branch shows up on the remote but git branch -r doesn't list it locally, your fetch refspec is almost always scoped to a single branch instead of all branches. Fix it with one config change: git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" followed by git fetch origin --
ORIGINAL SOURCE →via Dev.to
ADVERTISEMENT
⚡ STAY AHEAD
Events like this, convergence-verified across 689 sources, land in your inbox every Sunday. Free.
GET THE SUNDAY BRIEFING →RELATED · conflict
- [CONFLICT] Intermodal Asia
- [CONFLICT] Survivor'da eleme adayı kim oldu? 28 Nisan Survivor'da dokunulmazlık oyununu kim kazandı?
- [CONFLICT] Geleneksel tıp hizmetinde düzenleme
- [CONFLICT] DMM'den "100 bin konut" kurasına dair iddialara yanıt
- [CONFLICT] Fahiş site aidatlarına düzenleme içeren teklif Genel Kurulda!
- [CONFLICT] Beyaz'la Joker 17. bölüm izleme linki: Beyaz'la Joker yarışma programında gelecek bölümde neler olacak?