![]() gitconfig file which usually resides in your home directory: # add this to ~/.gitconfig:Īnd create the. When you add something there, it is ignored in any repository, so you don't have to exclude those files in every project you happen to be working on. There is a perfect place for them - the global. vscode (VS Code), Thumbs.db (Windows thumbnails cache). gitignore, because they may differ from developer to developer.Ĭommon examples are. Those shouldn't be excluded using the project's. Some files or directories present in the application directory are not created by the application itself, but by the operating system or other applications. ![]() The important thing is that those files are created by the application itself by either building it, running it or doing some work on it. ![]() phpcs.xml <- local PHPCS config used for overriding the default phpunit.xml <- local PHPUnit config used for overriding the default vendor/ <- dependencies installed through Composer gitignore may look like this (I included an explanation on each line): /.env.local <- local config Best examples are cache files, logs, local configs etc. ![]() In it you should list any files or directories which are created by the application itself. gitignore in the project is the most important one. ![]() What if I told you that there are other ways to exclude temporary files from the project? There are three. gitignore file in the project root directory. When you are using git (or any other version control), there are some temporary files in the directory structure, which should not be included in the repository. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |