Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Tags
#git
Question
Ignoring a file in any directory
Answer

To ignore a file foo.txt in any directory you should just write its name:

foo.txt

# matches all files 'foo.txt' in any directory

If you want to ignore the file only in part of the tree, you can specify the subdirectories of a specific directory with ** pattern:

bar/**/foo.txt # matches all files 'foo.txt' in 'bar' and all subdirectories Or you can create a .gitignore file in the bar/ directory.

Equivalent to the previous example would be creating file bar/.gitignore with these contents: foo.txt # matches all files 'foo.txt' in any directory under bar/


Tags
#git
Question
Ignoring a file in any directory
Answer
?

Tags
#git
Question
Ignoring a file in any directory
Answer

To ignore a file foo.txt in any directory you should just write its name:

foo.txt

# matches all files 'foo.txt' in any directory

If you want to ignore the file only in part of the tree, you can specify the subdirectories of a specific directory with ** pattern:

bar/**/foo.txt # matches all files 'foo.txt' in 'bar' and all subdirectories Or you can create a .gitignore file in the bar/ directory.

Equivalent to the previous example would be creating file bar/.gitignore with these contents: foo.txt # matches all files 'foo.txt' in any directory under bar/

If you want to change selection, open document below and click on "Move attachment"

pdf

owner: cramer7575 - (no access) - GitNotesForProfessionals.pdf, p38

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.