git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* A new feature command request `cmd_ignore`
@ 2022-01-14 18:58 Jaydeep Das
  2022-01-15  5:17 ` Elijah Newren
  0 siblings, 1 reply; 5+ messages in thread
From: Jaydeep Das @ 2022-01-14 18:58 UTC (permalink / raw)
  To: git

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-15 15:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 18:58 A new feature command request `cmd_ignore` Jaydeep Das
2022-01-15  5:17 ` Elijah Newren
2022-01-15  9:03   ` Johannes Sixt
2022-01-15 10:45     ` Jaydeep Das
2022-01-15 15:38       ` Johannes Sixt

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).