Looking at git to ignore the exception , I realized that you can ignore the files in the repository from the global .gitignore file.
Is it possible to somehow override all the rules from the global .gitignore file so that everything in the repository is in it and nothing is ignored? (except ignoring each file separately)
Create .gitignore in the repo folder with one rule:
.gitignore
!*
This forgets the rules (with ! ) .gitignore all files ( * ) in the main .gitignore .
!
*
You can.
Create your own .gitignore file with the appropriate rules and place it in the directory where it will be applied. The rules will apply to a directory with local .gitignore and its subdirectories.
Source: https://habr.com/ru/post/1205976/More articles:Emacs, sql-mode, Postgresql and password entry - emacsIs there an easy way to categorize the content of an HTML element? - javascriptVisual Studio Team Services - how to change the language? - tfsMATLAB Murphy HMM Toolbox - matlabHow to request BIOS using GRUB? - c ++How is the OWIN OAuth 2 Token actually created? - authenticationSBT 0.13.6 Windows 8 - Unresolved Dependencies - javaWhat are the limitations of the matplotlib backend in rendering formats? - pythonDoes the XHR progress event not fire until the download completes? - javascriptOperation could not be completed (IDEStackFrame Error 0.) - iosAll Articles