Command Line
After the function is created, the gi command will give you command line access to the gitignore.io API.
Use gigif you are on Windows

Preview

Show output on the command line.
Command
Response
1
gi linux,java
Copied!
1
# Created by https://www.toptal.com/developers/gitignore/api/linux,java
2
# Edit at https://www.toptal.com/developers/gitignore?templates=linux,java
3
4
### Java ###
5
# Compiled class file
6
*.class
7
8
# Log file
9
*.log
10
11
# BlueJ files
12
*.ctxt
13
14
# Mobile Tools for Java (J2ME)
15
.mtj.tmp/
16
17
# Package Files #
18
*.jar
19
*.war
20
*.nar
21
*.ear
22
*.zip
23
*.tar.gz
24
*.rar
25
26
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
27
hs_err_pid*
28
29
### Linux ###
30
*~
31
32
# temporary files which can be created if a process still has a handle open of a deleted file
33
.fuse_hidden*
34
35
# KDE directory preferences
36
.directory
37
38
# Linux trash folder which might appear on any partition or disk
39
.Trash-*
40
41
# .nfs files are created when an open file is removed but is still being accessed
42
.nfs*
43
44
45
# End of https://www.toptal.com/developers/gitignore/api/linux,java
Copied!

Global

Append Operating System and IDE settings to global .gitignore.
1
gi linux,eclipse >> ~/.gitignore_global
Copied!

Project

Appending Programming Language settings to your projects .gitignore.
1
gi java,python >> .gitignore
Copied!

List

Command
Response
1
gi list
Copied!
1
1c,1c-bitrix,a-frame,actionscript,ada
2
adobe,advancedinstaller,agda,alteraquartusii,altium
3
android,androidstudio,angular,anjuta,ansible
4
apachecordova,apachehadoop,appbuilder,appceleratortitanium,appcode
5
appcode+all,appcode+iml,appengine,aptanastudio,arcanist
6
archive,archives,archlinuxpackages,aspnetcore,assembler
7
atmelstudio,ats,audio,automationstudio,autotools
8
backup,ballerina,basercms,basic,batch
9
bazaar,bazel,bitrix,bittorrent,blackbox
10
bluej,bookdown,bower,bricxcc,buck
11
c,c++,cake,cakephp,calabash
12
carthage,ceylon,cfwheels,chefcookbook,clean
13
clion,clion+all,clion+iml,clojure,cloud9
14
cmake,cocoapods,cocos2dx,cocoscreator,code
15
code-java,codeblocks,codecomposerstudio,codeigniter,codeio
16
codekit,coffeescript,commonlisp,composer,compressed
17
compressedarchive,compression,concrete5,coq,craftcms
18
crashlytics,crbasic,crossbar,crystal,csharp
19
cuda,cvs,d,dart,darteditor
20
data,database,datarecovery,dbeaver,delphi
21
diskimage,django,dm,docfx,dotfilessh
22
dotsettings,dreamweaver,dropbox,drupal,drupal7
23
drupal8,eagle,easybook,eclipse,eiffelstudio
24
elasticbeanstalk,elisp,elixir,elm,emacs
25
ember,ensime,episerver,erlang,espresso
26
executable,expressionengine,extjs,fancy,fastlane
27
finale,firebase,flashbuilder,flex,flexbuilder
28
floobits,flutter,font,fontforge,forcedotcom
29
forgegradle,fortran,freepascal,fsharp,fuelphp
30
fusetools,games,gcov,genero4gl,geth
31
ggts,gis,git,gitbook,go
32
godot,gpg,gradle,grails,greenfoot
33
grunt,gwt,haskell,hexo,homeassistant
34
hsp,hugo,hyperledgercomposer,iar,iar_ewarm
35
iarembeddedworkbench,idris,igorpro,images,infer
36
inforcrm,intellij,intellij+all,intellij+iml,ionic3
37
jabref,java,java-web,jboss,jboss-4-2-3-ga
38
jboss-6-x,jdeveloper,jekyll,jetbrains,jetbrains+all
39
jetbrains+iml,jigsaw,jmeter,joe,joomla
40
jspm,julia,jupyternotebook,justcode,kate
41
kdevelop4,keil,kentico,kicad,kirby2
42
kobalt,kohana,komodoedit,kotlin,labview
43
lamp,laravel,latex,lazarus,leiningen
44
lemonstand,less,liberosoc,librarian-chef,libreoffice
45
lilypond,linux,lithium,lua,lyx
46
m2e,macos,magento,magento2,magic-xpa
47
matlab,maven,mavensmate,mean,mercurial
48
mercury,metaprogrammingsystem,meteorjs,microsoftoffice,mikroc
49
moban,modelsim,modx,momentics,monodevelop
50
mplabx,mule,nanoc,nativescript,ncrunch
51
nesc,netbeans,nette,nikola,nim
52
ninja,node,notepadpp,nwjs,objective-c
53
ocaml,octobercms,opa,opencart,opencv
54
openfoam,openframeworks,oracleforms,osx,otto
55
packer,particle,pawn,perl,perl6
56
ph7cms,phalcon,phoenix,phpcodesniffer,phpstorm
57
phpstorm+all,phpstorm+iml,pimcore,pinegrow,platformio
58
playframework,plone,polymer,powershell,premake-gmake
59
prepros,prestashop,processing,progressabl,psoccreator
60
puppet-librarian,purebasic,purescript,pvs,pycharm
61
pycharm+all,pycharm+iml,pydev,python,qml
62
qooxdoo,qt,qtcreator,r,racket
63
rails,reactnative,red,redcar,redis
64
rhodesrhomobile,rider,root,ros,ruby
65
rubymine,rubymine+all,rubymine+iml,rust,salesforce
66
salesforcedx,sas,sass,sbt,scala
67
scheme,scons,scrivener,sdcc,seamgen
68
senchatouch,serverless,shopware,silverstripe,sketchup
69
slickedit,smalltalk,snapcraft,solidity,soliditytruffle
70
sonar,sonarqube,sourcepawn,splunk,spreadsheet
71
standardml,stata,stdlib,stella,stellar
72
stylus,sublimetext,sugarcrm,svn,swift
73
swiftpackagemanager,swiftpm,symfony,symphonycms,synology
74
synopsysvcs,tags,tarmainstallmate,terraform,test
75
testcomplete,testinfra,tex,text,textmate
76
textpattern,theos-tweak,tortoisegit,tower,turbogears2
77
typings,typo3,umbraco,unity,unrealengine
78
vaadin,vagrant,valgrind,vapor,venv
79
vertx,video,vim,virtualenv,virtuoso
80
visualstudio,visualstudiocode,vivado,vvvv,waf
81
wakanda,web,webmethods,webstorm,webstorm+all
82
webstorm+iml,werckercli,windows,wintersmith,wordpress
83
wyam,xamarinstudio,xcode,xcodeinjection,xilinxise
84
xilinxvivado,xill,xojo,xtext,y86
85
yeoman,yii,yii2,zendframework,zephir
86
zukencr8000
Copied!
Last modified 1yr ago
Copy link