Tech Junkie Blog - Real World Tutorials, Happy Coding!: Create .gitignore for Visual Studio

Tuesday, June 30, 2015

Create .gitignore for Visual Studio

One of the first thing you have to do when you are creating a git repository is to create a .gitignore file that tells git to ignore the files specified in the .gitignore file.  Since Visual Studio produces all kinds of files it could take a while if you tried to create a .gitignore file from scratch.  Well there's a website that will generate a .gitignore file for you.  It's called gitignore.io  all you have to do is type in the IDE in this case it's VisualStudio without any spaces and the website will generate a .gitignore file for you automatically.



Step-By-Step Instructions:
  1. Type in the URL https://www.gitignore.io 












2. In the text box, type in "VisualStudio" without the double quotes


3.  Then click on the "Generate" button


4.  That's it, a .gitignore file is generated for you, save the file and put it at the root of your Visual Studio repository and you will ensure that the only thing that will get committed are the source codes


Note:  You can remove or add files exclusions from the generated file.  The comments are there as guide for you on what is being ignored.



4 comments:

  1. softwares TechBestSpot is a website on topics like Technology, SEO, Digital Marketing, Social Media, Business, Jobs & Carrier, World, Sports, Lifestyle, Health & Fitness, Education, How-to, Deals, Best and top lists and much more. Ongoing the efforts to deliver the best content, we are successful to focus on topics that are current and has some certain information.

    ReplyDelete
  2. Step-by-Step create website Easy to Customize, Publish Now! Custom domain name. Multiple payment methods. Free multilingual fonts. 24/7 support center. 1000s of free images. Top industry hosting. 100s of Apps. Easy-to-add blog. Mobile optimized. Create Website

    ReplyDelete
  3. Another major advantage is that this field offers highly paid jobs. If you take a look at the reports released by Glassdoor, we will come to know that these professionals make $116,100 on an annual basis, on average. So, it's a lucrative option for career seekers. data science course syllabus

    ReplyDelete

Search This Blog