binary - Git will not pickup .tga files -


i've got directory structure shown below. / base of git repo, not root. inited repo, haven't hooked remote repository yet.

/ (in here .dm file want) /lodumviraldeath/ (in here .tga files want keep) 

i added .gitignore file / looks this.

* !lodumviraldeath.dm !lodumviraldeath/ 

and there several .tga files inside of /lodumviraldeath/ git not pick of them whne git status, instead shows this.

$ git status # on branch master # # initial commit # # untracked files: #   (use "git add <file>..." include in committed) # #       lodumviraldeath.dm #       lodumviraldeath/ 

not sure how recognize fact binary .tgas there!

and sanity check, here's directory listing. / equal /c/dominions3/mods/

$ pwd /c/dominions3/mods/lodumviraldeath  $ ls boomer1.tga  boomer2.tga  cultivatedbrainmass1.tga  cultivatedbrainmass2.tga  lodumbanner.tga  slimedippednecromancer1.tga  slimedippednecromancer2.tga  smokestack1.tga  smokestack2.tga 

looks you're confused output of git status. when git status shows directory following line:

#       lodumviraldeath/ 

it means there number of (untracked in case) files in folder. shows folder keep output shorter.

if want git status show every file, use

git status -u 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -