Skip to content

Commit

Permalink
Reorganize .gitignore for readability
Browse files Browse the repository at this point in the history
It was either too forgiving or too ignoring
[skip scrutinizer] [skip travis]
  • Loading branch information
ozh committed Apr 20, 2020
1 parent 602e7df commit 39c73aa
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,58 +1,49 @@
############
## YOURLS
############

# Configuration
*config.php
user/*
!user/config-sample.php
# Ignore server configuration files
.htaccess
*.config
*.conf
[Rr]obots.txt

# Languages
!user/languages/

# Plugins
# Core plugins
# Ignore everything in user/
user/*
# ... except config sample
!user/config-sample.php
# ... core plugins
!user/plugins/hyphens-in-urls/
!user/plugins/random-bg/
!user/plugins/random-shorturls/
!user/plugins/sample-page/
!user/plugins/sample-plugin/
!user/plugins/sample-toolbar/

# Pages
# ... example pages
!user/pages/examplepage.php

# Keep index.html
# ... and index.html files
!user/index.html
!user/**/index.html

############
## Tests
############

includes/**/tests/
build/
coverage/
phpunit.xml
tests/yourls-tests-config.php
tests/vendor/
tests/data/auth/config-test-auth-hashed.php
tests/data/htaccess/test*

############
## Environnement
############

# Windows image file caches
Thumbs.db

# Folder config file
Desktop.ini

# Mac crap
.DS_Store

# NetBeans files
/nbproject/

0 comments on commit 39c73aa

Please sign in to comment.