joseluisq / joseluisq/gitnow

Add support for ignore files persistently

Open
#6 0 comments 1 reaction 0 assignees View on GitHub
enhancement help wanted
Dominant language
Shell
Stars
490
Forks
27
PR merge metrics
No merged PRs in 30d

Description

It would be great if we can support a command to ignore (or revert) files on demand and place them into `.gitignore` file.

__Proposal:__ I suggest to add an `ignore` command.

__1. Ignore a file:__

```sh
~> ignore README.md
~> cat .gitignore
# README.md
```

__1. Revert ignored file:__

```sh
~> ignore --no README.md
~> cat .gitignore
# (empty)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.