How to Git Ignore Contain “tiu” Word Files

the category like:


i want to ignore contain “tiu” files
my .gitignore files is:

  • How to import CVS to git scm?
  • How can I display a 'last-deployed' timestamp from within my Heroku Rails app?
  • How to include only selected files into git repository and exclude all the rest?
  • Does git track resource forks?
  • arc diff including all changes in submodules
  • will fetch/merge not work if files are added or deleted in GitHub repository?
  • CSS/tiu*.css

    but it don’t work?

  • Practical uses of git reset --soft?
  • Error when trying to reset git HEAD
  • capistrano - git ls-remote -h doesn't have the git url
  • Why do merge conflicts happen?
  • Error: Cannot Spawn C:\Path To\TortoiseGit\Bin: No such file or directory
  • Why GIT Plugin in Jenkins is not able to connect to the GIT Repository?
  • 2 Solutions collect form web for “How to Git Ignore Contain “tiu” Word Files”

    if you want to ignore all the tiu* files, use a global pattern (without specifying the directory at first):


    If this does not work, here are the rules for patterns:

    If they’re already added to the repository, you need to remove them from the repo without deleting the files. Do that with:

    git rm --cached /Script/tiu*

    That will remove the objects from the repo and the index, but leave the working directory alone. From then on, they should be happily ignored by git status and git add (and by extension git commit -a).

    Git Baby is a git and github fan, let's start git clone.