toptal / gitignore.io

Create useful .gitignore files for your project

Home Page:https://www.toptal.com/developers/gitignore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Critical: Visual basic template makes git ignore all subdirectories.

nathan130200 opened this issue · comments

Theres an critical problem in "Visual Basic" template, someone forced to just ignore ALL SUBDIRECTORIES. Who can use this template and will not be able to see files inside subdirectores will have a big problem.

# Created by https://www.toptal.com/developers/gitignore/api/visualbasic
# Edit at https://www.toptal.com/developers/gitignore?templates=visualbasic

### VisualBasic ###
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
.DS_Store
.Trashes
*.vbw
*.csi
*.exp
*.lib
*.lvw
*.dca
*.scc
*.tmp
*.exe
*.bat
*.bak
*.zip
*.old
*.enc
*.key
# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Ignore all subdirectories
*/*

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# =========================
# Operating System Files
# =========================

# OSX
# =========================

.AppleDouble
.LSOverride

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.VolumeIcon.icns

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# End of https://www.toptal.com/developers/gitignore/api/visualbasic

See this line:

# Ignore all subdirectories
*/*

This will cause a huge problem, like just happened with me some seconds ago...

If someone did this just for trolling i hate that person.