1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Add Excluding Files Locally as a git til.

This commit is contained in:
jbranchaud
2015-07-27 21:30:06 -05:00
parent 4aceb493fa
commit 21df8bc331
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# Excluding Files Locally
Excluding (read: ignoring) files that should not be tracked is generally
done by listing such files in a tracked `.gitignore` file. Though it doesn't
make sense to list all kinds of excluded files here. For files that you'd
like to exclude that are temporary or are specific to your local
environment, there is another option. These files can be added to the
`.git/info/exclude` file as a way of ignoring them locally.
Add specific files or patterns as needed to that file and then save it.
Relevant files will no longer show up as untracked files when you `git
status`.