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