2024-08-07 06:07 PM
Hi,
I installed GitHub Desktop and created a local repository which resides inside a an STM32 CubeIDE project.
I can modify any of the .c or .h files with any editor (notepad, notepad++, wordpad, etc) and the changes appear immediately in GitHub Desktop. But if I edit the same file/s with CubeIDE editor the changes do not appear at all on GitHub Desktop. i.e. GitHub Desktop does not show that the file (or any file) has been changed.
Does anybody have any idea why?
Thank you :)
2024-08-07 07:50 PM
Perhaps you aren't saving the file. GitHub Desktop doesn't know what modified the file, no way it would differentiate between different programs editing a file.
2024-08-08 07:30 AM
Thank you @TDK
I definitely save the file. That was the first I double checked.
Does anybody use GitHub Desktop with CubeIDE?
Thank you
2024-08-09 04:10 AM
can you do a rescan and see if it appears? . Can you please post a picture of your Github desktop what it shows?
2024-08-09 04:30 AM
@Ricko wrote:I can modify any of the .c or .h files with any editor (notepad, notepad++, wordpad, etc) and the changes appear immediately in GitHub Desktop. But if I edit the same file/s with CubeIDE editor the changes do not appear at all on GitHub Desktop. :)
Do the edits made in CubeIDE appear in your other editor(s) ?
2024-08-09 06:34 AM - edited 2024-08-12 01:44 AM
If you right-click one of the files in the CubeIDE Project Explorer, and click 'Properties' it will show you where the file actually is in the file system:
Check that this is where your GitHub Desktop is looking