TechCohere
  • Home
  • Tech News
  • Tech Tips
  • Search

How to ignore like bin, obj, and other folders from git repository

  • 9/13/2022 5:07 PM

While working with the Git repository, we need to exclude .dll, and .vs folder files because these will get generated as new files for every build. So, we should not include these files in the Git repository while committing changes. to exclude these files, add a .gitignore file to your repository and add file names to it as shown below.

.gitignore file

*.sln.docstates

*.suo

*.user

*.userosscache

*.userprefs

*.usertasks

.vs/

.vscode/*

 

 

tags:

share:

Microsoft Visual Studio 2022 Promo Code
Latest News
  • Microsoft renamed Azure Active Directory (AAD)
  • What is the next Microsoft Visual Studio Version?
  • .NET 7 Release Date
  • C#10 Features
Latest TechTips
  • You will Never get time to clean your messy code
  • What are Azure Storage Types?
  • What is Azure Blob?
  • Enable Multi Repository Feature in Visual Studio 2022
Latest Posts
  • Dictionary vs List Comparison in C#
  • Dynamic component in Blazor with Example
  • Blazor – Cascading Parameters with Example
  • C# 12 Feature - Enhanced using Directives with Example
Categories
  • AngularJS (7)
  • Asp.Net (231)
  • Asp.Net Core (4)
  • Asp.Net MVC (55)
  • Asp.Net Web API (32)
  • AZ-204 Certificate (2)
  • Blazor (15)
  • C#.Net (449)
  • Cryptography (9)
  • Entity Framework Core (2)
  • General (13)
  • Git (5)
  • IIS (5)
  • JavaScript (6)
  • jQuery (28)
  • LINQ (10)
  • Microsoft Azure (35)
  • Microsoft Excel (2)
  • Microsoft Office (42)
  • Microsoft Promo Code (16)
  • Oracle (2)
  • Sharepoint (21)
  • Silverlight (3)
  • SQL Server (12)
  • Terraform (3)
  • Vb.Net (8)
  • WCF (19)
  • WPF (18)
  • Xamarin (10)
  • XML (4)

Privacy Policy | Terms & Conditions

All copyright (C) 2025 Reserved