GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GIT-IGNORE-IO(1) Git Extras GIT-IGNORE-IO(1)

git-ignore-io - Get sample gitignore file

git ignore-io [<OPTIONS>]

Get sample gitignore file from gitignore.io https://www.gitignore.io

<OPTIONS>

-a, --append <types>...
Append new .gitignore content to .gitignore under the current directory

-r, --replace <types>...
Export new .gitignore to the current directory (The old one will be replaced)

-l, --list-in-table
Print available types in table format

-L, --list-alphabetically
Print available types in alphabetical order

-s, --search <word>
Search word in available types

-t, --show-update-time
Show the last modified time of ~/.gi_list (where the list of available types is stored)

-u, --update-list
Update ~/.gi_list

Show sample gitignore file for vim
$ git ignore-io vim
    # Created by https://www.gitignore.io/api/vim
    ### Vim ###
    [._]*.s[a-w][a-z]
    [._]s[a-w][a-z]
    *.un~
    Session.vim
    .netrwhist
    *~
    

Append sample gitignore for vim and python to .gitignore in current directory.

$ git ignore-io -a vim python
    

Show all available types

$ git ignore-io -l
    actionscript             ada                      agda                     android                  anjuta
    appceleratortitanium     appcode                  appengine                archives                 archlinuxpackages
    autotools                basercms                 bazel                    bluej                    bower
    bricxcc                  c                        c++                      cakephp                  carthage
    ......
    

Search ja in all available types

$ git ignore-io -s ja
    django
    jabref
    java
    ninja
    

Written by Lee-W cl87654321@gmail.com

<https://github.com/tj/git-extras/issues>

<https://github.com/tj/git-extras>
October 2017

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.