Ignore Files With .gitignore
Learn to exclude files that we don’t want to track.
We'll cover the following...
How can we prevent files/folders from being tracked?
Mostly, we don’t want to add everything into version control. Some files are never tracked. Generally, we would like to ignore the build
and output
folders. We also want to ignore the private key, passwords for databases, and secret hashes for applications.
-
Ignore files: ...