git - Creating directory/file name rules for .gitignore -
i'd set rules in .gitignore whereby directory or file name containing "_nogit" ignored.
examples:
- ../videos_nogit/...
- bigvideo_nogit.mp4
- assets/_nogit/bigvideos...
thanks--
if have line in .gitignore
file not have slashes in it, git
treats shell glob pattern. thus, adding *_nogit*
.gitignore
ignore of files.
see gitignore
man page.
Comments
Post a Comment