Ignore Files In Git (+ git clean, git update-index)

preview_player
Показать описание
If you're a developer then you know Github, and you know that you can put your projects on a Github repository, but there always are some files that need to be ignored, like some build files, or some configuration files

In this video, I'll show you how to ignore files and directories in git, in different ways, and for different purposes

Timestamps:
0:00 - Intro
0:21 - Ways to ignore files in git
1:29 - Project-wide .gitignore file
4:19 - System-wide .gitignore file
5:10 - Repository-wide exclude file
5:40 - Check which files are ignored by git
6:30 - Ignore changes in a file that is already tracked by git
8:55 - Ignore files that are already committed
9:48 - Add an ignored file to the staging area
10:19 - Remove all of the ignored files from the working tree
10:54 - Outro

Links:
Choose your gitignore template:
Рекомендации по теме