From 2ced182fccae93849e00ecdf2f6b76d25beaba2b Mon Sep 17 00:00:00 2001 From: LeeW Date: Mon, 7 Sep 2015 22:24:40 +0800 Subject: [PATCH] Finish manual for git-ignore-io --- man/git-ignore-io.md | 77 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 man/git-ignore-io.md diff --git a/man/git-ignore-io.md b/man/git-ignore-io.md new file mode 100644 index 0000000..62ebf5d --- /dev/null +++ b/man/git-ignore-io.md @@ -0,0 +1,77 @@ +git-ignore-io(1) -- Get sample gitignore file +================================ + +## SYNOPSIS + +`git ignore-io` [OPTIONS] + +## DESCRIPTION +Get sample gitignore file from [gitignore.io]("https://www.gitignore.io") + +## OPTIONS + +[-a|--append] ... Append new .gitignore content to .gitignore under the current directory +[-e|--export] ... Export new .gitignore to the current directory (The old one will be replaced) +[-l] Print available types in alphabetical order +[-L] Print available types in table format +[-s|--search] Search word in available types +[-t|--show-update-time] Show the last modified time of ~/.gi\_list (where the list of available types stored) +[-u|--update-list] Update ~/.gi\_list + +## EXAMPLES +Show sample gitignore file for vim + +```bash +$ 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. + +```bash +$ git ignore-io -a vim python +``` + +Show all available types + +```bash +$ 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 + +```bash +$ git ignore-io -s ja + + django + jabref + java + ninja +``` + + +## AUTHOR + +Written by Lee-W +## REPORTING BUGS + +<> + +## SEE ALSO + +<>