Skip to content

Instantly share code, notes, and snippets.

@Luismcplopes
Created August 13, 2019 20:11
Show Gist options
  • Save Luismcplopes/5f9c1d0d33ca4d1aa82e36b8cdf59c5f to your computer and use it in GitHub Desktop.
Save Luismcplopes/5f9c1d0d33ca4d1aa82e36b8cdf59c5f to your computer and use it in GitHub Desktop.
Gitignore template when i start a new projects.
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# Created by https://www.gitignore.io/api/git,linux,macos,windows,vagrant,powershell,ansible,visualstudiocode
# Edit at https://www.gitignore.io/?templates=git,linux,macos,windows,vagrant,powershell,ansible,visualstudiocode
### Ansible ###
*.retry
### Git ###
# Created by git for backups. To disable backups in Git:
# $ git config --global mergetool.keepBackup false
*.orig
# Created by git when using merge tools for conflicts
*.BACKUP.*
*.BASE.*
*.LOCAL.*
*.REMOTE.*
*_BACKUP_*.txt
*_BASE_*.txt
*_LOCAL_*.txt
*_REMOTE_*.txt
### Linux ###
*~
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# KDE directory preferences
.directory
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*
### macOS ###
# General
.DS_Store
.DS_Store?
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### PowerShell ###
# Exclude packaged modules
*.zip
# Exclude .NET assemblies from source
*.dll
### Vagrant ###
# General
.vagrant/
# Log files (if you are creating logs in debug mode, uncomment this)
# *.log
### Vagrant Patch ###
*.box
### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
### VisualStudioCode Patch ###
# Ignore all local history of files
.history
### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
# Folder config file
[Dd]esktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp
# Windows shortcuts
*.lnk
# End of https://www.gitignore.io/api/git,linux,macos,windows,vagrant,powershell,ansible,visualstudiocode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment