gitignore
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| gitignore [February 23, 2026 at 13:18] – yanevskiv | gitignore [May 14, 2026 at 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | # .gitignore | ||
| + | **.gitignore** is a file | ||
| + | |||
| + | You can ignore everything in a given di | ||
| + | |||
| + | ## F.A.Q. | ||
| + | |||
| + | ### How do I ignore a directory without making a commit? | ||
| + | Just put `*` in `.gitignore` of the directory you want to ignore (e.g. `./local` directory) | ||
| + | ``` | ||
| + | # ./ | ||
| + | # Ignore everything in directory `./local` | ||
| + | |||
| + | * | ||
| + | ``` | ||
