Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
89 lines (70 sloc) 2.71 KB

Git Files Travis CI Status

A .gitignore and .gitattributes file containing ignore and attribute code for all programming languages, automatically updated daily.

How to use

Execute the commands while in the root directory of your Git repository

Method 1 - From URL:

https://raw.githubusercontent.com/Richienb/git-files/master/files/.gitignore
https://raw.githubusercontent.com/Richienb/git-files/master/files/.gitattributes

Method 2 - Using cURL:

Travis CI

install:
  - curl -L -o .gitignore https://raw.githubusercontent.com/Richienb/git-files/master/files/.gitignore
  - curl -L -o .gitattributes https://raw.githubusercontent.com/Richienb/git-files/master/files/.gitattributes

Shell/Terminal

$ curl -L -o .gitignore https://raw.githubusercontent.com/Richienb/git-files/master/files/.gitignore
$ curl -L -o .gitattributes https://raw.githubusercontent.com/Richienb/git-files/master/files/.gitattributes

Cmd/Batch/Powershell

curl -L -o .gitignore https://raw.githubusercontent.com/Richienb/git-files/master/files/.gitignore
curl -L -o .gitattributes https://raw.githubusercontent.com/Richienb/git-files/master/files/.gitattributes

Method 3 - Using Wget:

Travis CI

install:
  - wget https://raw.githubusercontent.com/Richienb/git-files/master/files/.gitignore
  - wget https://raw.githubusercontent.com/Richienb/git-files/master/files/.gitattributes

Shell/Terminal

$ wget https://raw.githubusercontent.com/Richienb/git-files/master/files/.gitignore
$ wget https://raw.githubusercontent.com/Richienb/git-files/master/files/.gitattributes

Cmd/Batch/Powershell

wget https://raw.githubusercontent.com/Richienb/git-files/master/files/.gitignore
wget https://raw.githubusercontent.com/Richienb/git-files/master/files/.gitattributes

Method 4 - Using traditional Git cloning:

Travis CI

install:
  git clone https://github.com/Richienb/git-files.git
  mv -f git-files/files/.gitignore .
  mv -f git-files/files/.gitattributes .
  rm -rf git-files

Shell/Terminal

$ git clone https://github.com/Richienb/git-files.git
$ mv -f git-files/files/.gitignore .
$ mv -f git-files/files/.gitattributes .
$ rm -rf git-files

Cmd/Batch/Powershell

git clone https://github.com/Richienb/git-files.git
move /Y git-files/files/.gitignore .
move /Y git-files/files/.gitattributes .
rmdir -S -Q git-files