August 2019
Beginner to intermediate
798 pages
17h 2m
English
The .gitignore file is used to list files or directories that you want to ignore when committing to GitHub. The contents of a sample .gitignore file might look as follows:
$ cat .gitignore public/ .DS_Store *.swp
Please note that after being created for the first time, .gitignore should be added to the current branch using git add.
Read now
Unlock full access