From: Junio C Hamano <gitster@pobox.com>
To: Anjib Mulepati <anjibcs@hotmail.com>
Cc: git@vger.kernel.org
Subject: Re: Definition of working directory
Date: Tue, 27 Mar 2012 16:01:45 -0700 [thread overview]
Message-ID: <7v8vilzm06.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <BLU0-SMTP4376CA011AD4D79C1BAB727B14A0@phx.gbl> (Anjib Mulepati's message of "Tue, 27 Mar 2012 17:26:23 -0400")
Anjib Mulepati <anjibcs@hotmail.com> writes:
> So if I have a project called MyProject and inside that I have two
> sub-directories dir1 and dir2. Does that mean working directory is
> *ALWAYS* MyProject.
Your working tree is MyProject that has two subdirectories dir1 and dir2.
> Also if i create some file in dir1 and do git status without git add
> then it display untracked files as ../dir1/
> It doesn't display the untracked file name but after I do git add when
> I did git status it does give me file under changes to be
> committed. Why didn't it shows file with name as untracked in first
> case?
Because often such a directory has tons of garbage files that are totally
uninteresting. Check "git help status" and look for the --untracked-files
option if you want to learn more.
next prev parent reply other threads:[~2012-03-27 23:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-27 16:12 Definition of working directory Anjib Mulepati
2012-03-27 17:10 ` Junio C Hamano
2012-03-27 21:26 ` Anjib Mulepati
2012-03-27 23:01 ` Junio C Hamano [this message]
2012-03-28 6:06 ` Kevin
2012-03-28 9:40 ` jaseem abid
2012-03-28 14:10 ` Working directory managment Anjib Mulepati
2012-03-28 15:13 ` Junio C Hamano
2012-03-28 15:39 ` Anjib Mulepati
2012-03-28 16:31 ` jaseem abid
2012-03-28 15:41 ` Junio C Hamano
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=7v8vilzm06.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=anjibcs@hotmail.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).