Permalink
Browse files

Add clone_gitignore to download various gitattributes by Github

  • Loading branch information...
1 parent 2e0e79e commit f7e5ecb122bcced47524429a4cc924e9d89240c3 @naoty committed Nov 14, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 clone_gitignore
View
8 clone_gitignore
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ $# -ne 1 ]; then
+ echo "Usage: clone_gitignore <type>"
+ exit 1
+fi
+
+curl -o ".gitignore" "https://raw.github.com/github/gitignore/master/$1.gitignore"

0 comments on commit f7e5ecb

Please sign in to comment.