git/list[1] front-page[2] threads[3] people[4] search[5] about
 

A new feature command request `cmd_ignore`

From
Jaydeep Das <jaydeepjd.8914@gmail.com>
Date
Jan 14, 2022, 18:58 UTC
Message-ID
<11860e44-beff-39e6-2efc-53324223caee@gmail.com>

Generally, To ignore files from a repository, we just have to add the file name in `.gitignore`. But this task becomes a bit tedious when there are a lot of unstaged files which you want to ignore.

`git ignore [file names]`

would add that file to `.gitignore` and other parameters like `--force` could be added which would delete that file cache if that file was already committed.

This is my very first mail in the mailing list and I look forward to becoming a future contributor to the git project. I would like to hear your opinions on this command and would like to implement it if approved.

Regards, Jaydeep.

Next: Elijah Newren
Message 1 of 5 in “A new feature command request `cmd_ignore`”
  1. Jaydeep DasJan 14, 2022
  2. Elijah NewrenJan 15, 2022
  3. Johannes SixtJan 15, 2022
  4. Jaydeep DasJan 15, 2022
  5. Johannes SixtJan 15, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.