I am very good for GET, currently learning how to ignore the file in GIT.
I used the order history:
mkdir testgit cd testgit git init touch .gitignore echo "./toign.txt" & gt; & Gt; Again, it shows: To commit initial commit commitments: ("git rm - .gitignore.txt git add git status
-cached & lt; file & gt; ...) to new file: .gitignore new file: toignore.txt
I wonder if GIT still has toignore on stage Why is it able to add .txt
The argument is that git "is called" a ./
prefix meaningless and should be ignored by it. Regardless of whether the argument should continue on the day, there is another question, and the fact is that git is effectively matching the output directly to the git ls-files
output given by you, not That against the canonizedelized path of those files they can solve is very easy: Use a text-matching pattern, which relies on the local file system naming conventions. See for full details
No comments:
Post a Comment