# Ricostruzione fallita perché ancora sul branch \`master\`. Correggere con \`git checkout main\`

**URL:** <https://meta.discourse.org/t/rebuild-fails-because-still-on-master-branch-fix-with-git-checkout-main/218277>\
**Category:** Product Support\
**Created:** [15 Febbraio 2022, 6:06pm UTC](https://meta.discourse.org/t/rebuild-fails-because-still-on-master-branch-fix-with-git-checkout-main/218277 "2022-02-15T18:06:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [15 Febbraio 2022, 6:52pm UTC](https://meta.discourse.org/t/rebuild-fails-because-still-on-master-branch-fix-with-git-checkout-main/218277/3 "2022-02-15T18:52:33Z")

</div>

Pensavo di stare impazzendo.  
Il problema era che questo host era ancora su `master`; `git checkout main` ha risolto il problema.  
Suppongo che dovrei fare un `git checkout main` su ~~tutti gli host~~ host a due container dove la procedura è bootstrap/destroy/start piuttosto che ricostruire ~~nel caso siano abbastanza vecchi da averne bisogno~~.

---

_[View the full topic](https://meta.discourse.org/t/rebuild-fails-because-still-on-master-branch-fix-with-git-checkout-main/218277)._
