.gitignore wildcard not working? ("LIVE-* " pattern doesn't match "LIVE-vhost" filename)

Viewed 13622

Super quick one. Here is my .gitignore (at the root level of my repo

# Makefile stuff
LIVE-* 
.install-post-all

When I do this, The LIVE-* bit isn't working:

$ git status
# On branch master
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#   pm-h8/etc/apache2/conf.d/LIVE-vhost
nothing added to commit but untracked files present (use "git add" to track)

What am I doing wrong?

2 Answers
Related