From the course: Designing and Implementing Source Control using GitHub and Azure DevOps
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Using a .gitignore file
From the course: Designing and Implementing Source Control using GitHub and Azure DevOps
Using a .gitignore file
- [Instructor] We just saw how we can create and clone our first repository. In bigger projects, however, we'll be challenged to manage the files that we should and shouldn't track. A gitignore file specifies the files that Git should intentionally not track or ignore. In this lesson, we will explore the practical uses of a gitignore file within the context of our project. For this lesson, we'll be using the following resources: the Git CLI, which we already have, Visual Studio Code, which can be found at this URL, and a .NET project found in the exercise files for this lesson. Having the .NET SDK installed is an asset, but it is not required for this exercise. Navigate to the GitHub repository for this lesson and download the project with the exercise files to your computer. Let us unzip the contents of the exercise files to our working directory for the repository that we cloned in the previous lesson. Then using the…