-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from halilkocaoz/installation-linux
update for linux installation
- Loading branch information
Showing
2 changed files
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,53 @@ | ||
# dotignore | ||
|
||
`dotignore` is a CLI tool for generating .gitignore files. | ||
`dotignore` is a CLI tool for generating .gitignore files. | ||
|
||
# Usage | ||
## Installation | ||
|
||
## Create .gitignore files | ||
### Linux | ||
|
||
```sh | ||
wget https://github.com/bariscanyilmaz/dotignore/releases/download/[version]/dotignore-[version]-linux-x64.tar.gz | ||
|
||
sudo mkdir -p /usr/local/dotignore && sudo tar -C /usr/local/dotignore -xzf dotignore-[version]-linux-x64.tar.gz | ||
|
||
export PATH=$PATH:/usr/local/dotignore | ||
``` | ||
|
||
## Usage | ||
|
||
### Create .gitignore files | ||
|
||
Create your dotignore files with init verb | ||
|
||
```bash | ||
dotignore init <template> | ||
``` | ||
 | ||
|
||
|
||
|
||
 | ||
|
||
Also, init is defeault verb and you can omit it | ||
|
||
```bash | ||
dotignore <template> | ||
``` | ||
 | ||
|
||
|
||
 | ||
|
||
## List available .gitignore templates | ||
### List available .gitignore templates | ||
|
||
List your dotignore files with ls verb | ||
|
||
```bash | ||
dotignore ls | ||
``` | ||
 | ||
|
||
|
||
 | ||
|
||
Also, ls has -q or --query option for searching your template | ||
|
||
```bash | ||
dotignore ls -q <template> | ||
``` | ||
|
||
 |