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
Normal Topic Github & Gitignore (Read 2248 times)
Christopher Cooper
Junior Member
**
Offline


Posts: 16
Joined: Jul 13th, 2020
Github & Gitignore
Jul 14th, 2020 at 9:37am
Print Post  
Hi,

I have decided to move from the Arduino IDE to Visual -Studio using Visual Micro and Github. Finding it a little tough, but persevering. 

I would like to limit the files which are uploaded/synced to Github to ".ino", ".cpp" and ".h" so my repository is tidy.

Do I have to manually add all of the other extensions from the Visual Micro folders or is there a quick and easy way to only sync these file types?

Thanks.

Regards,

Christoper
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2174
Joined: Feb 13th, 2019
Re: Github & Gitignore
Reply #1 - Jul 14th, 2020 at 10:04am
Print Post  
You should be able to use the Solution Explorer / Check In Windows within VS to Ignore / Add files (it just edits the gitignore for you), which is a lot easier than editing the text file manually.

The below YouTube Video shows this, and specifically at 5:35 it shows ignoring folders / files (process is the same for include if excluded)
Specific bit for this Starting at 5:35
Full Video: GitHub Integration for Arduino in Visual Studio

Does this help?
  
Back to top
 
IP Logged
 
Christopher Cooper
Junior Member
**
Offline


Posts: 16
Joined: Jul 13th, 2020
Re: Github & Gitignore
Reply #2 - Jul 14th, 2020 at 10:54am
Print Post  
Many thanks, very helpful.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint