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?
Remove the blank space after the string you want to match.
Try wildcarding the directory as well:
**/LIVE-*
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With