Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 8 Replies) Git commit and push does not update GitHub (Read 2397 times)
Steven Bennett
Junior Member
**
Offline


Posts: 35
Location: High Bentham
Joined: Nov 2nd, 2022
Git commit and push does not update GitHub
Nov 5th, 2022 at 9:34am
Print Post  
When I save a project, commit it and push to Git everything seems OK, no error messages, completed successfully message  but looking on GitHub the files are not updated.  If I commit and push using Git Desktop app the update works as normal.  Any suggestions welcome - thank you
  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: Git commit and push does not update GitHub
Reply #1 - Nov 8th, 2022 at 8:29am
Print Post  
I use the github extension. First I make changes, then make a commit and then sync it!
  
Back to top
 
IP Logged
 
Steven Bennett
Junior Member
**
Offline


Posts: 35
Location: High Bentham
Joined: Nov 2nd, 2022
Re: Git commit and push does not update GitHub
Reply #2 - Nov 8th, 2022 at 9:40am
Print Post  
Thanks for that, yes I do the same but despite no error messages the files on GitHub are not updated.  If I sync via GitHub desktop everything works.
  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: Git commit and push does not update GitHub
Reply #3 - Nov 8th, 2022 at 11:12am
Print Post  
I am new to vs2022. Can't find the github extension...

It seem that it's not yet working with vs2022

https://marketplace.visualstudio.com/items?itemName=GitHub.GitHubExtensionforVis...
« Last Edit: Nov 8th, 2022 at 11:15am by The_Specialist »  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: Git commit and push does not update GitHub
Reply #4 - Nov 8th, 2022 at 11:18am
Print Post  
It seem that there is no need to install it anymore in to vs2022

https://www.c-sharpcorner.com/article/how-to-use-github-in-visual-studio-2022/
  
Back to top
 
IP Logged
 
Steven Bennett
Junior Member
**
Offline


Posts: 35
Location: High Bentham
Joined: Nov 2nd, 2022
Re: Git commit and push does not update GitHub
Reply #5 - Nov 8th, 2022 at 4:34pm
Print Post  
That's right, it's included in VS2022, based on the content at https://www.c-sharpcorner.com/article/how-to-use-github-in-visual-studio-2022/ I have written a step-by-step guide attached to this message as a PDF; if it's any help you are welcome to use it in any way you want.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: Git commit and push does not update GitHub
Reply #6 - Nov 8th, 2022 at 7:01pm
Print Post  
ok. Thx!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Git commit and push does not update GitHub
Reply #7 - Nov 9th, 2022 at 1:28am
Print Post  
Sorry we missed this post. Visual Micro 1x uses standard Microsoft Visual C++ projects. It might be worth asking Microsoft via Help > Report bug or feedback.

One question I have before doing that would be to ask if the same problem happens when you modify .h or .cpp files as opposed to .ino code. 

  
Back to top
IP Logged
 
Steven Bennett
Junior Member
**
Offline


Posts: 35
Location: High Bentham
Joined: Nov 2nd, 2022
Re: Git commit and push does not update GitHub
Reply #8 - Nov 9th, 2022 at 12:14pm
Print Post  
Thanks, my problem is now resolved now I have worked out how to use the integrated Git interface in VS2022.  Took hours of web research and experiments.  The results of my experiments are explained in the PDF attached to my previous post.  I can not find any help in the VM online manual about using Git but I guess it's more of an MS issue than a VM one.  That said if you want people to use VM they are likely to need to use Git so even though it's not a VM issue it might be useful to add something to the online VM help?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Git commit and push does not update GitHub
Reply #9 - Nov 9th, 2022 at 2:34pm
Print Post  
Ah great thanks. We do have a video tutorial on our youtube channel but we will add a page to the docs to bring it all together and then post a link here.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint