Skip to content

Commit 25c6f4b

Browse files
authored
fix: Fixed relative paths in .gitignore (#9929)
1 parent 396d951 commit 25c6f4b

File tree

3 files changed

+57
-57
lines changed

3 files changed

+57
-57
lines changed

.gitignore

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -44,45 +44,45 @@ $RECYCLE.BIN/
4444
.env
4545
.vagrant
4646
Vagrantfile
47-
user_guide_src/venv/
47+
/user_guide_src/venv/
4848
.python-version
49-
user_guide_src/.python-version
49+
/user_guide_src/.python-version
5050

5151
#-------------------------
5252
# Temporary Files
5353
#-------------------------
54-
writable/cache/*
55-
!writable/cache/index.html
54+
/writable/cache/*
55+
!/writable/cache/index.html
5656

57-
writable/logs/*
58-
!writable/logs/index.html
57+
/writable/logs/*
58+
!/writable/logs/index.html
5959

60-
writable/session/*
61-
!writable/session/index.html
60+
/writable/session/*
61+
!/writable/session/index.html
6262

63-
writable/uploads/*
64-
!writable/uploads/index.html
63+
/writable/uploads/*
64+
!/writable/uploads/index.html
6565

66-
writable/debugbar/*
67-
!writable/debugbar/index.html
66+
/writable/debugbar/*
67+
!/writable/debugbar/index.html
6868

69-
writable/**/*.db
70-
writable/**/*.sqlite
69+
/writable/**/*.db
70+
/writable/**/*.sqlite
7171

7272
php_errors.log
7373

7474
#-------------------------
7575
# User Guide Temp Files
7676
#-------------------------
77-
user_guide_src/build/*
77+
/user_guide_src/build/*
7878

7979
#-------------------------
8080
# Test Files
8181
#-------------------------
82-
tests/coverage*
82+
/tests/coverage*
8383

8484
# Don't save phpunit under version control.
85-
phpunit
85+
/phpunit
8686

8787
#-------------------------
8888
# Composer
@@ -105,14 +105,14 @@ _modules/*
105105
*.iml
106106

107107
# Netbeans
108-
nbproject/
109-
build/
110-
nbbuild/
111-
dist/
112-
nbdist/
113-
nbactions.xml
114-
nb-configuration.xml
115-
.nb-gradle/
108+
/nbproject/
109+
/build/
110+
/nbbuild/
111+
/dist/
112+
/nbdist/
113+
/nbactions.xml
114+
/nb-configuration.xml
115+
/.nb-gradle/
116116

117117
# Sublime Text
118118
*.tmlanguage.cache

admin/framework/.gitignore

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -48,38 +48,38 @@ Vagrantfile
4848
#-------------------------
4949
# Temporary Files
5050
#-------------------------
51-
writable/cache/*
52-
!writable/cache/index.html
51+
/writable/cache/*
52+
!/writable/cache/index.html
5353

54-
writable/logs/*
55-
!writable/logs/index.html
54+
/writable/logs/*
55+
!/writable/logs/index.html
5656

57-
writable/session/*
58-
!writable/session/index.html
57+
/writable/session/*
58+
!/writable/session/index.html
5959

60-
writable/uploads/*
61-
!writable/uploads/index.html
60+
/writable/uploads/*
61+
!/writable/uploads/index.html
6262

63-
writable/debugbar/*
64-
!writable/debugbar/index.html
63+
/writable/debugbar/*
64+
!/writable/debugbar/index.html
6565

6666
php_errors.log
6767

6868
#-------------------------
6969
# User Guide Temp Files
7070
#-------------------------
71-
user_guide_src/build/*
72-
user_guide_src/cilexer/build/*
73-
user_guide_src/cilexer/dist/*
74-
user_guide_src/cilexer/pycilexer.egg-info/*
71+
/user_guide_src/build/*
72+
/user_guide_src/cilexer/build/*
73+
/user_guide_src/cilexer/dist/*
74+
/user_guide_src/cilexer/pycilexer.egg-info/*
7575

7676
#-------------------------
7777
# Test Files
7878
#-------------------------
79-
tests/coverage*
79+
/tests/coverage*
8080

8181
# Don't save phpunit under version control.
82-
phpunit
82+
/phpunit
8383

8484
#-------------------------
8585
# Composer

admin/starter/.gitignore

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -48,38 +48,38 @@ Vagrantfile
4848
#-------------------------
4949
# Temporary Files
5050
#-------------------------
51-
writable/cache/*
52-
!writable/cache/index.html
51+
/writable/cache/*
52+
!/writable/cache/index.html
5353

54-
writable/logs/*
55-
!writable/logs/index.html
54+
/writable/logs/*
55+
!/writable/logs/index.html
5656

57-
writable/session/*
58-
!writable/session/index.html
57+
/writable/session/*
58+
!/writable/session/index.html
5959

60-
writable/uploads/*
61-
!writable/uploads/index.html
60+
/writable/uploads/*
61+
!/writable/uploads/index.html
6262

63-
writable/debugbar/*
64-
!writable/debugbar/index.html
63+
/writable/debugbar/*
64+
!/writable/debugbar/index.html
6565

6666
php_errors.log
6767

6868
#-------------------------
6969
# User Guide Temp Files
7070
#-------------------------
71-
user_guide_src/build/*
72-
user_guide_src/cilexer/build/*
73-
user_guide_src/cilexer/dist/*
74-
user_guide_src/cilexer/pycilexer.egg-info/*
71+
/user_guide_src/build/*
72+
/user_guide_src/cilexer/build/*
73+
/user_guide_src/cilexer/dist/*
74+
/user_guide_src/cilexer/pycilexer.egg-info/*
7575

7676
#-------------------------
7777
# Test Files
7878
#-------------------------
79-
tests/coverage*
79+
/tests/coverage*
8080

8181
# Don't save phpunit under version control.
82-
phpunit
82+
/phpunit
8383

8484
#-------------------------
8585
# Composer

0 commit comments

Comments
 (0)