Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

DManavi/getignore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GetIgnore

Download the most recent version of the .gitignore file for any project directly from Github.

Installation

There are several methods for installing this utility.

NPX

To use this method, you need to have NodeJS installed.

The easiest way of using the command is to use npx. Run the command below in your terminal.

npx getignore-cmd --help

NPM

To use this method, you need to have NodeJS installed.

In this method, the package is installed as a global dependency using npm.

npm install -g getignore-cmd
getignore --help

Shell

This method only works on MacOS and Linux. Artifacts are limited to x64 and Arm64 CPUs only. curl or wget is required.

In this method, the package is installed directly to the user-specific bin folder location (which may be vary in different OS).

Linux

wget version
wget -q -O- https://raw.githubusercontent.com/GetIgnore/getignore/master/bin/install.py | python3
curl version
curl -o- -L https://raw.githubusercontent.com/GetIgnore/getignore/master/bin/install.py | python3

MacOS

wget version
curl -fsSL https://raw.githubusercontent.com/GetIgnore/getignore/master/bin/install.py | python3 -
curl version
wget -q -O- https://raw.githubusercontent.com/GetIgnore/getignore/master/bin/install.py | python3 -