Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Github & Gitignore (Read 85 times)
Christopher Cooper
Newbies
*
Offline



Posts: 2
Github & Gitignore
Jul 14th, 2020 at 10:37am
 
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 Hopkinson
Administrator
*****
Offline



Posts: 356
Re: Github & Gitignore
Reply #1 - Jul 14th, 2020 at 11:04am
 
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
Newbies
*
Offline



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