From: jeff millar <wa1hco@adelphia.net>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: How stop tracking a file?
Date: Sun, 22 May 2005 14:29:25 -0400 [thread overview]
Message-ID: <4290CF85.5060105@adelphia.net> (raw)
In-Reply-To: <7vacmnfapv.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
> jm> cg-rm does two things
> jm> rm -f "$@"
> jm> git-update-cache --remove -- "$@"
>
>I do not do Porcelain, but something along the following lines
>should work:
>
> for path
> do
> git-update-cache --force-remove "$path"
> done
>
Seems a bit more difficult...
[jeff@Desk gsmc-1.1]$ git-update-cache --force-remove main.o
[jeff@Desk gsmc-1.1]$ cg-diff
Index: main.o
===================================================================
Binary files a5d1a55e0818ab11b71fee01bcd9053c4ecc65a6/main.o
(mode:100644) and /dev/null (tree:uncommitted) differ
[jeff@Desk gsmc-1.1]$ cg-commit
Refusing to make an empty commit - the tree was not modified
since the previous commit. If you really want to make the
commit, do: commit-tree `tree-id` -p `parent-id`
A picky porcelain problem?
next prev parent reply other threads:[~2005-05-22 18:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-22 16:48 How stop tracking a file? jeff millar
2005-05-22 17:10 ` Junio C Hamano
2005-05-22 18:29 ` jeff millar [this message]
2005-06-04 1:24 ` Petr Baudis
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=4290CF85.5060105@adelphia.net \
--to=wa1hco@adelphia.net \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/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