0

I have a little trouble with some auto generated binary files in my project.

So, I have 2 questions:

1)Does gitignore ( the file from a git repository which says which files should not be tracked) uses globbing or regular expressions ?

2)FOr files that are included in gitignore, but are already tracked, do they become untracked ?

coredump
  • 3,017
  • 6
  • 35
  • 53

1 Answers1

1

gitignore uses globs. This page should give you all the details.

Also, to ignore uncommitted changes in a file that is already tracked, use git update-index --assume-unchanged.

Alex Brown
  • 41,819
  • 10
  • 94
  • 108
automaticAllDramatic
  • 2,025
  • 1
  • 21
  • 25