Is it possible to enable GitHub integration with IDE 2.x?

Hello!

I did a cursory search here but could not find any suggestions on working with a GitHub repository under IDE 2.x. Here's what ChatGPT suggested: :grinning:

  1. Open the Arduino IDE 2.x.
  2. Click on the Tools menu and select Boards Manager.
  3. Search for GitHub and install the Arduino GitHub package.
  4. Click on the File menu and select New.
  5. Select the Project from GitHub option.
  6. Etc.

Unfortunately, I couldn't locate any package called Arduino GitHub. I want to stay with IDE 2.x because I am a simple person who doesn't need the features of other popular 3rd party IDEs. Any thoughts?

Regards.

1 Like

Hi @baqwas.

The instructions from ChatGPT were a "hallucination".

There is no support for Git/GitHub integration in Arduino IDE. Even if there was such support, it would never be installed via Boards Manager because that is not what Boards Manager is for.

I recommend you to use a standalone Git client. You can find a list of such clients here:

https://git-scm.com/downloads/guis

Using a standalone Git client is significantly superior to the application-specific integration you hoped for because it means you can use a single tool for version control of all your projects of any type rather than having to learn the version control interface of each of the IDEs/editors/etc. of each project type (and likely ending up still needing to use a standalone tool after all for the projects for which there is no such integration).

1 Like

Hello @Delta_G,

I was using output from ChatGPT as an illustration of the pitfalls. My apologies for choosing Arduino as the target (because I had an inkling about the answer when it suggested "Boards Manager").

I have had many other issues with ChatGPT but not complaining. I tried to obtain some Python SMTP code snippets from ChatGPT but they were unusable yet the smtplib documentation had more detailed (and accurate) examples. Perhaps, I formulated the inquiry incorrectly. :wink:

Regards.

Thanks for the confirmation, @ptillisch. Appreciate the quick response.

I beg to differ with your rationalization about GitHub integration (except for Arduino use cases since I have very limited experience here).

Hopefully I don't sound rude. After all, the I in IDE stands for integration but then it is utterly impractical to expect every tool to have all the desirable features. Your recommendation is fine with me but I was hoping to fork a repository and then work seamlessly with peers like I do under Android Studio and VS Code. I have a GitHub desktop client installed already but I haven't had the need to use it. Perhaps it is time for me learn something new again. Thanks for all your support as usual. You can trust me to follow your Arduino guidance.

Regards.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.