git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: govinda <govinda.webdnatalk@gmail.com>
To: git@vger.kernel.org
Subject: Re: newbie - missing file from untracked list
Date: Tue, 19 Jul 2011 10:07:22 -0700 (PDT)	[thread overview]
Message-ID: <1311095242970-6599506.post@n2.nabble.com> (raw)
In-Reply-To: <4E24F275.3030906@gmail.com>

> You can see files aready in HEAD: 
> 
>   $ git ls-tree HEAD 
> 
> or files in stage. 
> 
>   $ git ls-files -s 

Thanks for these ^^^  Jiang Xin!

It is not easy for me to understand all the various contexts which show
files (and those contexts' names, and the commands to see into them) in git,
yet.. but now thanks to you I know better where to look (and reread) in
various docs.

>> I would sort that untracked file listing for ease of reading.. but I do
>> not 
>> know how (if it is even possible)... is there an option for 'git status
>> -?' 
>> that causes the list to sort alphabetically?  At the moment is seems to
>> try 
>> to sort ..but breaks the lists into a couple/few separate clumps of 
>> otherwise alphabetized file names. (That makes no sense to me.) 

> $ git status -s | grep "^?" | sort 

Apparently, I do not know how to use this that you gave me ^^^  .

So far, nothing I tried for generating a 'git status' listing would make the
(more-than-one, and separate) alphabetical clumps of file names sort into
just ONE homogenous alphabetical list.

for example:

[Govindas-iMac-2:SS_site_root] Govind% git status -s sort
[Govindas-iMac-2:SS_site_root] Govind% git status -s
A  VL_ShowMan.html
?? CSS/
?? Empire_06_10_Calls.html
?? GovTest-VL_ShowMan_e-card.html
?? Intranet_IE/CSI_Admin.html
?? Intranet_IE/DealerUpdate_Approve.html
[snip]
?? Intranet_IE/repupdate_edit_linestep3_action_update.inc
?? LunchReport-Trigger_email2attendees2review.html
[snip]
?? LunchReport_CommentToolTip.js
?? ManuUpdate/
?? RepGroup_Update_Trigger.html
?? SAS_DesignFirm_Dealer_Referral.html
[snip]
?? WelcometoNewVL.html
?? _SS_Govinda_only.php
?? _archived copies/
?? aboutVL/
?? booklist.html-mydraft
?? buyinggroup.html
?? buyinggroup.html-2011-02-16
?? categories/
[snip]
?? joinus.html
?? mainline_finishes.html-2011-04-29
?? mainline_finishes.html-2011-06-08
?? mainline_finishes.html-2011-06-17
[snip]
?? upload_CORRECT.html
[snip]


see, why is there what seems to be 2 consecutive alphabetical lists of file
names? 
The first one spans the files:
?? CSS/
.
.
.
?? WelcometoNewVL.html


...while the second list spans the files:
?? _SS_Govinda_only.php
.
.
.
?? upload_CORRECT.html


My knowledge CL is limited, so I apologize in case you have already answered
me and I just do not yet see it.
Can you show me an example for a git status *sorted* command I could copy
and paste into CL directly.. that would thus show me how to apply what you
told me... so I can sort the file names into ONE homogenous alphabetical
list?

Thanks for your time
-Govinda

--
View this message in context: http://git.661346.n2.nabble.com/newbie-missing-file-from-untracked-list-tp6597192p6599506.html
Sent from the git mailing list archive at Nabble.com.

  reply	other threads:[~2011-07-19 17:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-19  1:49 newbie - missing file from untracked list govinda
2011-07-19  2:56 ` Jiang Xin
2011-07-19 17:07   ` govinda [this message]
2011-07-19 18:51     ` Christof Krüger
2011-07-20 13:43       ` govinda

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=1311095242970-6599506.post@n2.nabble.com \
    --to=govinda.webdnatalk@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).