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
.gitignore file, based on glob file patterns
Answer

# Lines starting with `#` are comments.

# Ignore files called 'file.ext'

file.ext

# Comments can't be on the same line as rules!

# The following line ignores files called file.ext # not a comment'

# Ignoring files with full path.

# This matches files in the root directory and subdirectories too.

# i.e. otherfile.ext will be ignored anywhere on the tree.

dir/otherdir/file.ext

otherfile.ext

# Ignoring directories

# Both the directory itself and its contents will be ignored.

bin/

gen/

# To ignore any directories named DirectoryA

# in any depth use ** before DirectoryA

# Do not forget the last /,

# Otherwise it will ignore all files named DirectoryA, rather than directories

**/DirectoryA/

# This would ignore

# DirectoryA/

# DirectoryB/DirectoryA/

# DirectoryC/DirectoryB/DirectoryA/

# It would not ignore a file named DirectoryA, at any level

# To exclude specific files when using wildcards, negate them.

# So they are excluded from the ignore list:

!.gitignore

# Use the backslash as escape character to ignore files with a hash (#)

# (supported since 1.6.2.1)

\#*#


Tags
#git
Question
.gitignore file, based on glob file patterns
Answer
?

Tags
#git
Question
.gitignore file, based on glob file patterns
Answer

# Lines starting with `#` are comments.

# Ignore files called 'file.ext'

file.ext

# Comments can't be on the same line as rules!

# The following line ignores files called file.ext # not a comment'

# Ignoring files with full path.

# This matches files in the root directory and subdirectories too.

# i.e. otherfile.ext will be ignored anywhere on the tree.

dir/otherdir/file.ext

otherfile.ext

# Ignoring directories

# Both the directory itself and its contents will be ignored.

bin/

gen/

# To ignore any directories named DirectoryA

# in any depth use ** before DirectoryA

# Do not forget the last /,

# Otherwise it will ignore all files named DirectoryA, rather than directories

**/DirectoryA/

# This would ignore

# DirectoryA/

# DirectoryB/DirectoryA/

# DirectoryC/DirectoryB/DirectoryA/

# It would not ignore a file named DirectoryA, at any level

# To exclude specific files when using wildcards, negate them.

# So they are excluded from the ignore list:

!.gitignore

# Use the backslash as escape character to ignore files with a hash (#)

# (supported since 1.6.2.1)

\#*#

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

pdf

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

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.