From: Thomas Gummerer <t.gummerer@gmail.com>
To: Olga Pshenichnikova <olga@ip-5.ru>
Cc: git@vger.kernel.org
Subject: Re: Some strange behavior of git
Date: Thu, 25 Feb 2016 10:57:55 +0100 [thread overview]
Message-ID: <20160225095755.GJ1831@hank> (raw)
In-Reply-To: <56CE31F8.7090706@ip-5.ru>
On 02/25, Olga Pshenichnikova wrote:
> Hello,
> we use git in our project.
> What can be cause for further confusing behavior?
>
> git@ip5server:~$ git status
> On branch master
> Untracked files:
> (use "git add <file>..." to include in what will be committed)
>
> app/addons/arliteks/
>
> nothing added to commit but untracked files present (use "git add" to
> track)
> git@ip5server:~$ git clean -dn
> Would remove app/addons/arliteks/
> Would remove design/
> Would remove js/
> Would remove var/langs/en/
>
> Why I don't see all 4 directories in first command?
Are the design/, js/ and var/langs/en/ directories empty? Git doesn't
track empty directories, so they won't show up in git status, but with
git clean -d you specify that Git should also remove untracked
directories, which is why you see them here.
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Thomas
next prev parent reply other threads:[~2016-02-25 9:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-24 22:43 Some strange behavior of git Olga Pshenichnikova
2016-02-24 22:57 ` Stefan Beller
2016-02-24 23:10 ` Randall S. Becker
2016-02-25 9:57 ` Thomas Gummerer [this message]
[not found] ` <56CED1F8.60601@ip-5.ru>
2016-02-25 16:14 ` Thomas Gummerer
2016-02-25 16:43 ` Olga Pshenichnikova
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=20160225095755.GJ1831@hank \
--to=t.gummerer@gmail.com \
--cc=git@vger.kernel.org \
--cc=olga@ip-5.ru \
/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).