git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jaydeep Das <jaydeepjd.8914@gmail.com>
To: git@vger.kernel.org
Subject: A new feature command request `cmd_ignore`
Date: Sat, 15 Jan 2022 00:28:36 +0530	[thread overview]
Message-ID: <11860e44-beff-39e6-2efc-53324223caee@gmail.com> (raw)

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.


             reply	other threads:[~2022-01-14 18:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-14 18:58 Jaydeep Das [this message]
2022-01-15  5:17 ` A new feature command request `cmd_ignore` Elijah Newren
2022-01-15  9:03   ` Johannes Sixt
2022-01-15 10:45     ` Jaydeep Das
2022-01-15 15:38       ` Johannes Sixt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11860e44-beff-39e6-2efc-53324223caee@gmail.com \
    --to=jaydeepjd.8914@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).