Skip to Content

Github for RT-Thread Studio

February 23, 2026 by
Github for RT-Thread Studio
Lingkail Sdn Bhd, cheahwei.leow@lingkail.com
* For projects that don’t have built-in git integration eg. RT-Thread Studios.

* Visual studio has built-in git integration.

Initial Setup (Github Desktop, and on RT-Thread Studio) 

Github Desktop

  1. Download and install GitHub Desktop at Download GitHub Desktop | GitHub Desktop.

  2. Log in with your account.


RT-Thread Studio 

  1. Create a folder for a separate workspace. (eg. Desktop>rt-threadproject). This step is to avoid accidental commits/mixing projects. Use the original workspace for projects that do not need to be pushed to GitHub.

  2. At RT-Thread Studio, go to File > Switch Workplace > Other…

Click browse, and then select the separate workspace folder that you have created. 

 


Initial Commit 

  1. Create a new repository on github.
  2. Add README to On. 
  3. Add .gitignore, any, afterwards can be edited.

  4. At Github Desktop, clone the repository that you have created at step 1. 
  5.  

  6. Local path choose the workspace folder that you have created during Initial Setup.

  7. The folder will “clone” the files from github. 

  8. Go to RT-Thread Studio and export the project. 
  9.  

  10. Select File System. 
  11.  

  12. Choose the directory as the cloned project folder. 

  13. Go back to RT-Thread Studio, switch to the separate workspace, and then Import the project from the separate workspace folder. 

  14.  

  15.  

  16.  At Github Desktop, you’ll see a lot of changed files. 
  17. You can type the summary as “Initial commit”. 
  18. I did it before, so I am just showing the “History” tab.  

  19. So now, whenever these are any changes to the code, it will show on Github Desktop. 
  20. Then you can commit the changes, and push it to GitHub. 


New laptop/user 

  1. Follow step 2 of the Initial Commit section. 

  2. At RT-Thread Studio, import the project from the separate workspace folder.

Renesas EtherKit

IoT, IIoT and AI software company in Bukit Mertajam Penang