# Changing/removing github link?

**URL:** <https://forum.makecode.com/t/changing-removing-github-link/11625>\
**Category:** Arcade\
**Created:** [January 6, 2022, 5:30pm UTC](https://forum.makecode.com/t/changing-removing-github-link/11625 "2022-01-06T17:30:33Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![besacode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/besacode/32/5577_2.png) [@besacode](https://forum.makecode.com/u/besacode)\
**Post date:** [January 6, 2022, 5:30pm UTC](https://forum.makecode.com/t/changing-removing-github-link/11625/1 "2022-01-06T17:30:33Z")

</div>

I created a project and linked it to github – that works fine.  
I then duplicated that project and modified it. I want it to publish to a separate github repo, but it is still linked to the original project’s github repo.  
How can I change or remove the github link in the second project?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![OLegonD](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/olegond/32/2642_2.png) [@OLegonD](https://forum.makecode.com/u/OLegonD)\
**Post date:** [December 21, 2022, 6:09pm UTC](https://forum.makecode.com/t/changing-removing-github-link/11625/2 "2022-12-21T18:09:28Z")

</div>

Same question here…

---

<div class="post-metadata">

**Author:** ![Karsten](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/karsten/32/13806_2.png) [@Karsten](https://forum.makecode.com/u/Karsten)\
**Post date:** [March 4, 2024, 10:24pm UTC](https://forum.makecode.com/t/changing-removing-github-link/11625/3 "2024-03-04T22:24:28Z")

</div>

**Connection to Github is broken**

Different situation with me, but maybe the same solution could apply…

I totally messed up the link between my arcade project and github.  
There was always an error message when I tried to synch changes or push local changes to github.

I believe that started to be the case after there was an issue with having the project open twice and the editor created a copy of the project…

Without any other ideas

- I deleted the github repo and watched if the project would allow a new github setup. Nope.
- I recreated the repo with the same name. Nope
- I pulled the projects files using VS code with the arcade extension and pushed the files to the repo. Nope.

I was not able to find any reference to the github repo in the projects files either.

@richard Is there a way to start a fresh sync with github?

Thank you very much!

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [March 4, 2024, 10:29pm UTC](https://forum.makecode.com/t/changing-removing-github-link/11625/4 "2024-03-04T22:29:53Z")

</div>

@Karsten hmmm… that’s definitely not a scenario I’ve encountered. Does the project or the repo have the most recent version of your code? Did you delete the local version of your project?

---

<div class="post-metadata">

**Author:** ![Karsten](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/karsten/32/13806_2.png) [@Karsten](https://forum.makecode.com/u/Karsten)\
**Post date:** [March 5, 2024, 7:20pm UTC](https://forum.makecode.com/t/changing-removing-github-link/11625/5 "2024-03-05T19:20:09Z")

</div>

Hi @richard the arcade editor has the most recent version. If I just would be able to reset the github settings… Creating a clone also dosn’t help, as the clone keeps the same github connection.

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [March 5, 2024, 7:37pm UTC](https://forum.makecode.com/t/changing-removing-github-link/11625/6 "2024-03-05T19:37:40Z")

</div>

Isn’t there a check box that you can un-check when you publish that does this? You just un-check the “update other links” or whatever it’s called.

---

<div class="post-metadata">

**Author:** ![Karsten](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/karsten/32/13806_2.png) [@Karsten](https://forum.makecode.com/u/Karsten)\
**Post date:** [March 5, 2024, 11:33pm UTC](https://forum.makecode.com/t/changing-removing-github-link/11625/7 "2024-03-05T23:33:09Z")

</div>

When creating a shareable link, there’s a checkbox “update existing share link for this project”.  
Think that is only related to the Arcade Project itself, not its github connection.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/4/4f0da0e2e602f1e9690658a6d3d8255e8bfab6e8.png)

Still wonder if there is a way to remove/rebuild or edit the github linking in the project.  
Or - to create a duplicate that does not inherit these settings…

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [March 6, 2024, 5:28pm UTC](https://forum.makecode.com/t/changing-removing-github-link/11625/8 "2024-03-06T17:28:43Z")

</div>

@Karsten give me a share link to the project and I’ll see what I can do

---

<div class="post-metadata">

**Author:** ![Karsten](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/karsten/32/13806_2.png) [@Karsten](https://forum.makecode.com/u/Karsten)\
**Post date:** [March 6, 2024, 9:40pm UTC](https://forum.makecode.com/t/changing-removing-github-link/11625/9 "2024-03-06T21:40:24Z")

</div>

Hi @richard the link to the most recent version is

> **[Mathe Champ](https://arcade.makecode.com/S11387-75463-02841-29215)**
>
> Erstellt mit ❤️ in Microsoft MakeCode Arcade.

The github repo lives here  
[KateiRen/mca\_matheass (github.com)](https://github.com/kateiren/mca_matheass/)

I was able to get the github sync working again on a clone of the project - after I reset all local changes within that clone. The clone is now synching sucessfully but its too far away from the original one. It’s a small fraction of the most recent version only.

What could be a way to sort this out?

---

<div class="post-metadata">

**Author:** ![Karsten](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/karsten/32/13806_2.png) [@Karsten](https://forum.makecode.com/u/Karsten)\
**Post date:** [March 6, 2024, 10:08pm UTC](https://forum.makecode.com/t/changing-removing-github-link/11625/10 "2024-03-06T22:08:55Z")

</div>

@richard But something else is odd too.

If I switch to Python, it shows three errors

> can’t find called function ‘len’

And I cannot switch back to the Block editor without acknowledging to throw away any changes in Python (even if I did not do any).

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [March 7, 2024, 5:41pm UTC](https://forum.makecode.com/t/changing-removing-github-link/11625/11 "2024-03-07T17:41:36Z")

</div>

@Karsten the python thing is unrelated; that looks like a bug in our compiler. I’ve filed an issue for it [here](https://github.com/microsoft/pxt-arcade/issues/6364).

As for the github sync, I think you’ve found another bug. I think the easiest way to work around this today is going to be to copy the code to a new project and set the repo up again. Sorry you ran into this!

---

<div class="post-metadata">

**Author:** ![Karsten](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/karsten/32/13806_2.png) [@Karsten](https://forum.makecode.com/u/Karsten)\
**Post date:** [March 8, 2024, 6:06pm UTC](https://forum.makecode.com/t/changing-removing-github-link/11625/12 "2024-03-08T18:06:02Z")

</div>

> [@richard](#):
>
> copy the code to a new project and set the repo up again

@richard thanks for the proposal. That seems to work!

Also, thanks for investigating and flagging the error with not recognizing the python built in function len…
