VS Arduino | |
Visual Micro >> General Board >> Github & Gitignore
https://www.visualmicro.com/forums/YaBB.pl?num=1594719448 Message started by Christopher Cooper on Jul 14th, 2020 at 9:37am |
Title: Github & Gitignore Post by Christopher Cooper on Jul 14th, 2020 at 9: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 |
Title: Re: Github & Gitignore Post by Simon Hopkinson on Jul 14th, 2020 at 10: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? |
Title: Re: Github & Gitignore Post by Christopher Cooper on Jul 14th, 2020 at 10:54am
Many thanks, very helpful.
|
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |