diff options
Diffstat (limited to '.gitignore')
| -rw-r--r-- | .gitignore | 34 |
1 files changed, 14 insertions, 20 deletions
| @@ -1,5 +1,12 @@ | |||
| 1 | # Created by https://www.gitignore.io/api/vim,rust,linux | 1 | # Created by https://www.toptal.com/developers/gitignore/api/linux,vim,exercism |
| 2 | # Edit at https://www.gitignore.io/?templates=vim,rust,linux | 2 | # Edit at https://www.toptal.com/developers/gitignore?templates=linux,vim,exercism |
| 3 | |||
| 4 | ### Exercism ### | ||
| 5 | # gitignore template for Exercism project | ||
| 6 | # website: https://exercism.io/ | ||
| 7 | |||
| 8 | # Ignore .exercism folder which contain sensitive data | ||
| 9 | .exercism | ||
| 3 | 10 | ||
| 4 | ### Linux ### | 11 | ### Linux ### |
| 5 | *~ | 12 | *~ |
| @@ -7,27 +14,19 @@ | |||
| 7 | # temporary files which can be created if a process still has a handle open of a deleted file | 14 | # temporary files which can be created if a process still has a handle open of a deleted file |
| 8 | .fuse_hidden* | 15 | .fuse_hidden* |
| 9 | 16 | ||
| 17 | # KDE directory preferences | ||
| 18 | .directory | ||
| 19 | |||
| 10 | # Linux trash folder which might appear on any partition or disk | 20 | # Linux trash folder which might appear on any partition or disk |
| 11 | .Trash-* | 21 | .Trash-* |
| 12 | 22 | ||
| 13 | # .nfs files are created when an open file is removed but is still being accessed | 23 | # .nfs files are created when an open file is removed but is still being accessed |
| 14 | .nfs* | 24 | .nfs* |
| 15 | 25 | ||
| 16 | ### Rust ### | ||
| 17 | # Generated by Cargo | ||
| 18 | # will have compiled files and executables | ||
| 19 | /target/ | ||
| 20 | |||
| 21 | # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries | ||
| 22 | # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html | ||
| 23 | Cargo.lock | ||
| 24 | |||
| 25 | # These are backup files generated by rustfmt | ||
| 26 | **/*.rs.bk | ||
| 27 | |||
| 28 | ### Vim ### | 26 | ### Vim ### |
| 29 | # Swap | 27 | # Swap |
| 30 | [._]*.s[a-v][a-z] | 28 | [._]*.s[a-v][a-z] |
| 29 | !*.svg # comment out if you don't need vector files | ||
| 31 | [._]*.sw[a-p] | 30 | [._]*.sw[a-p] |
| 32 | [._]s[a-rt-v][a-z] | 31 | [._]s[a-rt-v][a-z] |
| 33 | [._]ss[a-gi-z] | 32 | [._]ss[a-gi-z] |
| @@ -39,14 +38,9 @@ Sessionx.vim | |||
| 39 | 38 | ||
| 40 | # Temporary | 39 | # Temporary |
| 41 | .netrwhist | 40 | .netrwhist |
| 42 | |||
| 43 | # Auto-generated tag files | 41 | # Auto-generated tag files |
| 44 | tags | 42 | tags |
| 45 | |||
| 46 | # Persistent undo | 43 | # Persistent undo |
| 47 | [._]*.un~ | 44 | [._]*.un~ |
| 48 | 45 | ||
| 49 | # Coc configuration directory | 46 | # End of https://www.toptal.com/developers/gitignore/api/linux,vim,exercism |
| 50 | .vim | ||
| 51 | |||
| 52 | # End of https://www.gitignore.io/api/vim,rust,linux | ||
