bash - Git won't add certain globs -
i'm left scratching head on one. so, in git on osx, can add files like:
git add *.java
and add files have *.java extension. same .txt, json, etc. however, when
git add *.xml
nothing happens. it's not specified in gitignore, git reporting changed git status
, can't seem add globbing pattern.
i'm not asking how recursively add files pattern, git, (or bash?) that, explained in first example.
system:
- osx 10.10.5
- gnu bash, version 3.2.57(1)-release (x86_64-apple-darwin14)
- git version 2.3.8 (apple git-58)
quote glob passed git
processing, rather expanded shell.
git add '*.xml'
Comments
Post a Comment