jepler@wide:/tmp$ mkdir ex; cd ex; git init-db Initialized empty Git repository in .git/ jepler@wide:/tmp/ex$ touch '#example#'; echo '\#*\#' > .gitignore; git status # On branch master # # Initial commit # # Untracked files: # (use "git add ..." to include in what will be committed) # # .gitignore nothing added to commit but untracked files present (use "git add" to track) jepler@wide:/tmp/ex$ ls #example# jepler@wide:/tmp/ex$ git --version git version 1.5.2.5