Getting Started with Git
Aug 14 2023 · git 2.28, console
Part 1: Getting Started with Git
10. Ignoring Files
Heads up... You've reached locked video content where the transcript will be shown astext.
Often in projects, there would be files that you don’t want to include in your project. For example, in an iOS project using Cocoapods, maybe you don’t want to include the actual Pods in your project and have developers just get them locally. Or maybe you have a static site generation tool that converts markdown to html for you, and you only need to check in the markdown files. You don’t actually need html files in your project. Let’s pretend that’s our use case and we want to avoid checking in any html files to our project by leveraging gitignore.