Articles → GIT → .Gitignore File In Git
.Gitignore File In Git
What Is .Gitignore File?
How To Create .Gitignore File?
Prerequisite Of .Gitignore
git add .
git commit –m “Committing .gitignore file”
How To Ignore File?
- Open .gitignore file in notepad.
- Add the following code
# ignore log file
log.txt
How To Ignore Folders?
# ignore log file
log.txt
#ignore directory
MyFolder/*