Skip to content
Snippets Groups Projects

add gitignore

Merged Sebastian Achilles requested to merge sa-gitignore into main
1 file
+ 228
0
Compare changes
  • Side-by-side
  • Inline
.gitignore 0 → 100644
+ 228
0
 
# Created by https://www.toptal.com/developers/gitignore/api/git,vim,emacs,linux,macos,c,cuda,c++,executable
 
# Edit at https://www.toptal.com/developers/gitignore?templates=git,vim,emacs,linux,macos,c,cuda,c++,executable
 
 
### C ###
 
# Prerequisites
 
*.d
 
 
# Object files
 
*.o
 
*.ko
 
*.obj
 
*.elf
 
 
# Linker output
 
*.ilk
 
*.map
 
*.exp
 
 
# Precompiled Headers
 
*.gch
 
*.pch
 
 
# Libraries
 
*.lib
 
*.a
 
*.la
 
*.lo
 
 
# Shared objects (inc. Windows DLLs)
 
*.dll
 
*.so
 
*.so.*
 
*.dylib
 
 
# Executables
 
*.exe
 
*.out
 
*.app
 
*.i*86
 
*.x86_64
 
*.hex
 
 
# Debug files
 
*.dSYM/
 
*.su
 
*.idb
 
*.pdb
 
 
# Kernel Module Compile Results
 
*.mod*
 
*.cmd
 
.tmp_versions/
 
modules.order
 
Module.symvers
 
Mkfile.old
 
dkms.conf
 
 
### C++ ###
 
# Prerequisites
 
 
# Compiled Object files
 
*.slo
 
 
# Precompiled Headers
 
 
# Compiled Dynamic libraries
 
 
# Fortran module files
 
*.mod
 
*.smod
 
 
# Compiled Static libraries
 
*.lai
 
 
# Executables
 
 
### CUDA ###
 
*.i
 
*.ii
 
*.gpu
 
*.ptx
 
*.cubin
 
*.fatbin
 
 
### Emacs ###
 
# -*- mode: gitignore; -*-
 
*~
 
\#*\#
 
/.emacs.desktop
 
/.emacs.desktop.lock
 
*.elc
 
auto-save-list
 
tramp
 
.\#*
 
 
# Org-mode
 
.org-id-locations
 
*_archive
 
 
# flymake-mode
 
*_flymake.*
 
 
# eshell files
 
/eshell/history
 
/eshell/lastdir
 
 
# elpa packages
 
/elpa/
 
 
# reftex files
 
*.rel
 
 
# AUCTeX auto folder
 
/auto/
 
 
# cask packages
 
.cask/
 
dist/
 
 
# Flycheck
 
flycheck_*.el
 
 
# server auth directory
 
/server/
 
 
# projectiles files
 
.projectile
 
 
# directory configuration
 
.dir-locals.el
 
 
# network security
 
/network-security.data
 
 
 
### Executable ###
 
*.bat
 
*.cgi
 
*.com
 
*.gadget
 
*.jar
 
*.pif
 
*.vb
 
*.wsf
 
 
### 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
 
.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
 
 
### macOS Patch ###
 
# iCloud generated files
 
*.icloud
 
 
### Vim ###
 
# Swap
 
[._]*.s[a-v][a-z]
 
!*.svg # comment out if you don't need vector files
 
[._]*.sw[a-p]
 
[._]s[a-rt-v][a-z]
 
[._]ss[a-gi-z]
 
[._]sw[a-p]
 
 
# Session
 
Session.vim
 
Sessionx.vim
 
 
# Temporary
 
.netrwhist
 
# Auto-generated tag files
 
tags
 
# Persistent undo
 
[._]*.un~
 
 
# End of https://www.toptal.com/developers/gitignore/api/git,vim,emacs,linux,macos,c,cuda,c++,executable
Loading