I am converting my development from the older mBed Studio environment to Keil Studio Cloud. I followed the process and have a project working in Keil Studio Cloud. I would rather store the files on github, so I went through the conversion process and it created my github repository. I was happy to see it pulled all the version history along also!
Next I made a simple file change to test the system. I committed the new changes from the Source Control View, which updated the local repository.
Next I tried the "Publish Project" option in the Source Control view "..." menu. I think this is how to push to github. It returns the following error:
This repository already has a configured remote. Remote origin is configured for https://github.com/RobSenix/LoRa_Sensor
I deleted the entire project, and the github repository and tried the whole process a second time and got the same results.
What am I missing? How do I push changes to my github cloud account?
Hi Senix, you can use the "Push" option near the top of the Source Control "..." menu to push your new commits up to GitHub.
Thanks, do you know what "Publish Project" is for? Why am I getting errors?
Publish is for creating a git remote for a project that doesn't have one yet. For example, if you create a new project with "File > New Project" and select "Initialize this project as a git repository", the new project will have a local git history but won't be published to a remote yet.
In your case, there is a bug and publish should not be available. A fix for this should be available in a future release of Keil Studio.