1GIT-IGNORE-IO(1) Git Extras GIT-IGNORE-IO(1)
2
3
4
6 git-ignore-io - Get sample gitignore file
7
9 git ignore-io [<OPTIONS>]
10
12 Get sample gitignore file from gitignore.io https://www.toptal.com/de‐
13 velopers/gitignore/
14
16 <OPTIONS>
17
18 -a, --append <types>...
19 Append new .gitignore content to .gitignore under the current directory
20
21 -r, --replace <types>...
22 Export new .gitignore to the current directory (The old one will be re‐
23 placed)
24
25 -l, --list-in-table
26 Print available types in table format
27
28 -L, --list-alphabetically
29 Print available types in alphabetical order
30
31 -s, --search <word>
32 Search word in available types
33
34 -t, --show-update-time
35 Show the last modified time of ~/.gi_list (where the list of available
36 types is stored)
37
38 -u, --update-list
39 Update ~/.gi_list
40
42 Show sample gitignore file for vim
43
44
45
46 $ git ignore-io vim
47
48 # Created by https://www.toptal.com/developers/gitignore/api/vim
49
50 ### Vim ###
51 [._]*.s[a-w][a-z]
52 [._]s[a-w][a-z]
53 *.un~
54 Session.vim
55 .netrwhist
56 *~
57
58
59
60 Append sample gitignore for Vim and Python to .gitignore in current di‐
61 rectory.
62
63
64
65 $ git ignore-io -a vim python
66
67
68
69 Show all available types
70
71
72
73 $ git ignore-io -l
74
75 actionscript ada agda android anjuta
76 appceleratortitanium appcode appengine archives archlinuxpackages
77 autotools basercms bazel bluej bower
78 bricxcc c c++ cakephp carthage
79 ......
80
81
82
83 Search ja in all available types
84
85
86
87 $ git ignore-io -s ja
88
89 django
90 jabref
91 java
92 ninja
93
94
95
97 Written by Lee-W weilee.rx@gmail.com
98
100 <https://github.com/tj/git-extras/issues>
101
103 <https://github.com/tj/git-extras>
104
105
106
107 January 2023 GIT-IGNORE-IO(1)