Create a gitignore
I'm jotting it down so as not to forget how to create a .gitignore later on
1. cd
into your projects root directory
cd
into your projects root directory
2. Create .gitignore
file
.gitignore
file
3. Write it down using .gitignore
patterns
.gitignore
patternsex)
To exclude all files ending in
.log
To exclude any file names that contain
.log
To exclude all files in a specific path
+
If you create a .gitignore
when in use
.gitignore
when in use
.gitignore
example
.gitignore
exampleLast updated