* GIT counterpart to "svn list"
@ 2010-04-22 3:22 Jack Desert
2010-04-22 3:24 ` Tomas Carnecky
2010-04-22 8:56 ` Santi Béjar
0 siblings, 2 replies; 9+ messages in thread
From: Jack Desert @ 2010-04-22 3:22 UTC (permalink / raw)
To: git
I'm new to GIT, and the one command I can't live without is:
svn list
Is ther a GIT couterpart to svn list?
-Jack
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jack Desert -- Writer, Entrepeneur
Author and Spokesman: www.LetsEATalready.com
Software Developer: http://GrooveTask.org
Email: JackDesert556@gmail.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: GIT counterpart to "svn list"
2010-04-22 3:22 GIT counterpart to "svn list" Jack Desert
@ 2010-04-22 3:24 ` Tomas Carnecky
2010-04-22 3:37 ` Jack Desert
2010-04-22 8:56 ` Santi Béjar
1 sibling, 1 reply; 9+ messages in thread
From: Tomas Carnecky @ 2010-04-22 3:24 UTC (permalink / raw)
To: Jack Desert; +Cc: git
On 4/22/10 5:22 AM, Jack Desert wrote:
>
> I'm new to GIT, and the one command I can't live without is:
> svn list
> Is ther a GIT couterpart to svn list?
We're all clueless about how svn works, or what svn list does. Can you
enlighten us please?
tom
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: GIT counterpart to "svn list"
2010-04-22 3:24 ` Tomas Carnecky
@ 2010-04-22 3:37 ` Jack Desert
2010-04-22 3:45 ` Alexander Iljin
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Jack Desert @ 2010-04-22 3:37 UTC (permalink / raw)
To: Tomas Carnecky; +Cc: git
[-- Attachment #1: Type: text/plain, Size: 927 bytes --]
El Thu, 22 Apr 2010 05:24:48 +0200
Tomas Carnecky <tom@dbservice.com> escribió:
> On 4/22/10 5:22 AM, Jack Desert wrote:
> >
> > I'm new to GIT, and the one command I can't live without is:
> > svn list
> > Is ther a GIT couterpart to svn list?
>
> We're all clueless about how svn works, or what svn list does. Can you
> enlighten us please?
>
> tom
>
"svn list" displays which files and folders in the current directory are under version control. It's helpful in figuring out which files you still need to add to the repository. Attached is sample output from one of my directories under subversion souce control.
-Jack
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jack Desert -- Writer, Entrepeneur
Author and Spokesman: www.LetsEATalready.com
Software Developer: http://GrooveTask.org
Email: JackDesert556@gmail.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[-- Attachment #2: svn_list_demo --]
[-- Type: application/octet-stream, Size: 100 bytes --]
Blog/
LyxBlog/
README.build
__init__.py
coalesce.py
io/
seed.py
test_coalesce.py
test_seed.py
util/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: GIT counterpart to "svn list"
2010-04-22 3:37 ` Jack Desert
@ 2010-04-22 3:45 ` Alexander Iljin
2010-04-22 3:47 ` Tomas Carnecky
2010-04-22 7:41 ` Michael J Gruber
2 siblings, 0 replies; 9+ messages in thread
From: Alexander Iljin @ 2010-04-22 3:45 UTC (permalink / raw)
To: Tomas Carnecky, git
Hello!
JD> "svn list" displays which files and folders in the current
JD> directory are under version control. It's helpful in figuring out
JD> which files you still need to add to the repository. Attached is
JD> sample output from one of my directories under subversion souce control.
How about "git status"?
---=====---
Alexander
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: GIT counterpart to "svn list"
2010-04-22 3:37 ` Jack Desert
2010-04-22 3:45 ` Alexander Iljin
@ 2010-04-22 3:47 ` Tomas Carnecky
2010-04-22 7:41 ` Michael J Gruber
2 siblings, 0 replies; 9+ messages in thread
From: Tomas Carnecky @ 2010-04-22 3:47 UTC (permalink / raw)
To: Jack Desert; +Cc: git
On 4/22/10 5:37 AM, Jack Desert wrote:
> "svn list" displays which files and folders in the current directory are under version control. It's helpful in figuring out which files you still need to add to the repository. Attached is sample output from one of my directories under subversion souce control.
git ls-files. If you want to find out which files you haven't added to
git, use 'git ls-files --other --exclude-standard', but 'git status' is
usually much more helpful, and shorter to type.
tom
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: GIT counterpart to "svn list"
2010-04-22 3:37 ` Jack Desert
2010-04-22 3:45 ` Alexander Iljin
2010-04-22 3:47 ` Tomas Carnecky
@ 2010-04-22 7:41 ` Michael J Gruber
2010-04-22 10:44 ` Alex Riesen
2 siblings, 1 reply; 9+ messages in thread
From: Michael J Gruber @ 2010-04-22 7:41 UTC (permalink / raw)
To: Jack Desert; +Cc: Tomas Carnecky, git
Jack Desert venit, vidit, dixit 22.04.2010 05:37:
> El Thu, 22 Apr 2010 05:24:48 +0200
> Tomas Carnecky <tom@dbservice.com> escribió:
>> On 4/22/10 5:22 AM, Jack Desert wrote:
>>>
>>> I'm new to GIT, and the one command I can't live without is:
>>> svn list
>>> Is ther a GIT couterpart to svn list?
>>
>> We're all clueless about how svn works, or what svn list does. Can you
>> enlighten us please?
>>
>> tom
>>
>
> "svn list" displays which files and folders in the current directory are under version control. It's helpful in figuring out which files you still need to add to the repository. Attached is sample output from one of my directories under subversion souce control.
Now, that statement is about as true as Tomas' about "all" people's
svn-cluelessness here ;)
svn list [URL[@REV]] lists the files and directories of the repo URL at
revision rev, rev defaulting to the head revision, URL defaulting to the
repo URL of ".".
So, even without URL, it does not look at the files and folders of the
current directory at all (besides .svn to find the repo URL). In
particular, it does not tell you anything about untracked files and is
(by itself) useless for figuring out what to add. svn status is used for
that. Instead, svn list tells you which files and folders are under
version control at "." in the repo, but not limited to the the contents
of your cwd.
git ls-files does what svn list (without URL) does, and more. But git
status [-s] may be what you are really looking for, if you're interested
in tracked versus untracked files.
Now, svn list URL is something that git does not really do, because it
tries to do as much as possible locally, not on the server side. But
that is not the svn list incantation you asked about ;)
Cheers,
Michael
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: GIT counterpart to "svn list"
2010-04-22 3:22 GIT counterpart to "svn list" Jack Desert
2010-04-22 3:24 ` Tomas Carnecky
@ 2010-04-22 8:56 ` Santi Béjar
2010-04-22 11:51 ` Git - SVN Crash Course Petr Baudis
1 sibling, 1 reply; 9+ messages in thread
From: Santi Béjar @ 2010-04-22 8:56 UTC (permalink / raw)
To: Jack Desert; +Cc: git
On Thu, Apr 22, 2010 at 5:22 AM, Jack Desert <jackdesert556@gmail.com> wrote:
>
> I'm new to GIT, and the one command I can't live without is:
> svn list
> Is ther a GIT couterpart to svn list?
You could check the Git - SVN Crash Course:
http://git.or.cz/course/svn.html
HTH,
Santi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: GIT counterpart to "svn list"
2010-04-22 7:41 ` Michael J Gruber
@ 2010-04-22 10:44 ` Alex Riesen
0 siblings, 0 replies; 9+ messages in thread
From: Alex Riesen @ 2010-04-22 10:44 UTC (permalink / raw)
To: Michael J Gruber; +Cc: Jack Desert, Tomas Carnecky, git
On Thu, Apr 22, 2010 at 09:41, Michael J Gruber
<git@drmicha.warpmail.net> wrote:
> git ls-files does what svn list (without URL) does, and more. But git
> status [-s] may be what you are really looking for, ...
"git status -u" (to show the untracked files). The "-s" is just the
short format,
which is a nice thing, but not exactly what was asked. These can be
combined, of course:
$ git status -su
M git.c
?? RemoveMe
$
The untracked files are marked by "??".
^ permalink raw reply [flat|nested] 9+ messages in thread
* Git - SVN Crash Course
2010-04-22 8:56 ` Santi Béjar
@ 2010-04-22 11:51 ` Petr Baudis
0 siblings, 0 replies; 9+ messages in thread
From: Petr Baudis @ 2010-04-22 11:51 UTC (permalink / raw)
To: Santi Béjar; +Cc: git
On Thu, Apr 22, 2010 at 10:56:46AM +0200, Santi Béjar wrote:
> On Thu, Apr 22, 2010 at 5:22 AM, Jack Desert <jackdesert556@gmail.com> wrote:
> >
> > I'm new to GIT, and the one command I can't live without is:
> > svn list
> > Is ther a GIT couterpart to svn list?
>
> You could check the Git - SVN Crash Course:
>
> http://git.or.cz/course/svn.html
By the way, it would be nice if someone transferred this to the Git Wiki
and went through the text, it was written quite a long while ago.
I would then replace the link with a redirect to the wiki, but I don't
have the time to edit the course itself personally.
--
Petr "Pasky" Baudis
http://pasky.or.cz/ | "Ars longa, vita brevis." -- Hippocrates
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-04-22 11:51 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-22 3:22 GIT counterpart to "svn list" Jack Desert
2010-04-22 3:24 ` Tomas Carnecky
2010-04-22 3:37 ` Jack Desert
2010-04-22 3:45 ` Alexander Iljin
2010-04-22 3:47 ` Tomas Carnecky
2010-04-22 7:41 ` Michael J Gruber
2010-04-22 10:44 ` Alex Riesen
2010-04-22 8:56 ` Santi Béjar
2010-04-22 11:51 ` Git - SVN Crash Course Petr Baudis
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).