# My local repo dissapear from the space

**URL:** <https://forum.builder.io/t/my-local-repo-dissapear-from-the-space/15865>\
**Category:** Bugs\
**Tags:** visual-editor, nextjs\
**Created:** [October 12, 2025, 7:37pm UTC](https://forum.builder.io/t/my-local-repo-dissapear-from-the-space/15865 "2025-10-12T19:37:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexcs](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexcs](https://forum.builder.io/u/alexcs)\
**Post date:** [October 12, 2025, 7:37pm UTC](https://forum.builder.io/t/my-local-repo-dissapear-from-the-space/15865/1 "2025-10-12T19:37:57Z")

</div>

_My local repo was connected to my [builder.io](http://builder.io) space and was working great. I logout from my [builder.io](http://builder.io) account and after some days after I resign but when I ran the [builder.io](http://builder.io) vs code extension, my repo didn’t appear connected to the space. I ran_ npx @builder.io/dev-tools@latest launch and select the space but still the repo doesn’t appear in the space projects to continue working on it.

**Builder content link**  
_The problem is that the content is not showing in the space._

**Builder public api key**  
529f44de1ad240b4b20169a1f671a633

**Detailed steps to reproduce the bug**  
_I’m running vs code, select the [builder.io](http://builder.io) extension and run it. The [Builder.io](http://Builder.io) interface opens and my website works great in the [http://localhost](http://localhost) link, but in the space the project doesn’t appear and if I tell the AI to do some code change to my local files, it starts creating new files outside my local repo. I tried running_ npx @builder.io/dev-tools@latest launch and select the space but still the repo doesn’t appear in the space projects to continue working on it.

**Screenshots or video link**

 ![Screenshot 2025-10-12 at 13.13.43](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/e/e7d9fc3313d3abe875dd5b5e660d5236f6921854.jpeg)

 ![Screenshot 2025-10-12 at 13.14.47](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/f/fb8da2e2455f03a0ad8cf2ecb815ac93d5fd3fce.png)

**Code stack you are integrating Builder with**  
_NextJS + Vite_

**Reproducible code example**

---

<div class="post-metadata">

**Author:** ![sheema](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@sheema](https://forum.builder.io/u/sheema)\
**Post date:** [October 13, 2025, 2:53pm UTC](https://forum.builder.io/t/my-local-repo-dissapear-from-the-space/15865/2 "2025-10-13T14:53:19Z")

</div>

Hi , I see you have a project in your space, and the project is connected to GitHub as well. Could you please check and confirm if you are expecting some other projects in your space?

 ![Screenshot 2025-10-13 at 8.19.36 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/2/2dabac884158bdffc8d1c003e2dc158cb8f9b1e2.jpeg)

---

<div class="post-metadata">

**Author:** ![alexcs](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexcs](https://forum.builder.io/u/alexcs)\
**Post date:** [October 15, 2025, 11:35am UTC](https://forum.builder.io/t/my-local-repo-dissapear-from-the-space/15865/3 "2025-10-15T11:35:09Z")

</div>

After posting the problem here, I tried by connecting to the github project. So now I have it connected with the main branch.

But now the problem is that the code I was working on is on a different branch and I can’t find how to change to a different github branch. I created a branch in [builder.io](http://builder.io) but it looks is not the same thing as the github branch.

How can do it? So I can have the correct github branch connected and recover the code I was working on with builder before the disconnection with the local repo.

Thanks for the help

---

<div class="post-metadata">

**Author:** ![sheema](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@sheema](https://forum.builder.io/u/sheema)\
**Post date:** [October 24, 2025, 1:56pm UTC](https://forum.builder.io/t/my-local-repo-dissapear-from-the-space/15865/4 "2025-10-24T13:56:46Z")

</div>

Hi @alexcs, have you tried changing the main branch from the project settings?

 ![Screenshot 2025-10-24 at 7.26.04 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/2/27e2dedb38d40954d5c7f241eaa0b432e699b84a.png)
