On Apr 18, 2014 7:17 PM, gordonle...@gmail.com wrote:
>
> Hi, what does **/ pattern mean? Why couldn't the person used doc/*.txt
> instead of the below?
Doc/*.txt matches files ending in .txt in the doc directory while doc/**.txt
matches files ending in .txt in doc or any subdirectory of doc.
Hi, what does **/ pattern mean? Why couldn't the person used doc/*.txt
instead of the below?
quote
# ignore all .txt files in the doc/ directory doc/**/*.txt
A **/ pattern is available in Git since version 1.8.2.
end quote
source:
http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-