git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: David Aguilar <davvid@gmail.com>
To: Lin Mac <mkl0301@gmail.com>
Cc: sandy2010 <sandeeptt@yahoo.com>, git@vger.kernel.org
Subject: Re: git commands
Date: Sun, 22 Aug 2010 14:19:23 -0700	[thread overview]
Message-ID: <20100822211921.GA27048@gmail.com> (raw)
In-Reply-To: <AANLkTimRpwLZHve_cAY0JxLGKC4202i-V_Soq=m1_JsY@mail.gmail.com>

On Sun, Aug 22, 2010 at 06:41:35PM +0800, Lin Mac wrote:
> Hi,
> 
> 2010/8/20 sandy2010 <sandeeptt@yahoo.com>:
> > Yeah.. Actually, we were using git-15.6 and the command we used was
> > 'git-clone'. Later, I upgraded to git-1.7.1 and I found that in the
> > installation directory, there was only 4 binaries including git. I was
> > wondering were are the rest commands like git-clone, etc? Hence, I asked
> > this question.
> I have the same question regarding the installation here. I'm trying
> to upgrade from v1.5.x to the newest. But found that there are only a
> few files installed. Where are the rest? Should I uninstall the old
> version before I install? And is there any issues for the newer
> version works in respository made by v1.5.x, like git-svn?
> 
> Best Regards,
> Mac Lin.

Uninstall the old one and install the new one.
All the same commands are there, they're just organized
nicer so that they don't have to necessarily live in your $PATH.

The old version provided commands like 'git-clone' in /usr/bin.
You cannot use them like that anymore.
These days we say 'git clone' (no dashes).

Here's a blurb from http://lkml.org/lkml/2008/8/17/174

GIT v1.6.0 Release Notes
========================
User visible changes
--------------------
With the default Makefile settings, most of the programs are now
installed outside your $PATH, except for "git", "gitk" and
some server side programs that need to be accessible for technical
reasons.  Invoking a git subcommand as "git-xyzzy" from the command
line has been deprecated since early 2006 (and officially announced in
1.5.4 release notes); use of them from your scripts after adding
output from "git --exec-path" to the $PATH is still supported in this
release, but users are again strongly encouraged to adjust their
scripts to use "git xyzzy" form, as we will stop installing
"git-xyzzy" hardlinks for built-in commands in later releases.

-- 

	David

  reply	other threads:[~2010-08-22 21:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-20  7:17 git commands sandy2010
2010-08-20  7:32 ` Joshua Juran
2010-08-20  7:57   ` Matthieu Moy
2010-08-20  8:49     ` sandy2010
2010-08-22 10:41       ` Lin Mac
2010-08-22 21:19         ` David Aguilar [this message]
2010-08-20  7:51 ` Jonathan Nieder

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100822211921.GA27048@gmail.com \
    --to=davvid@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=mkl0301@gmail.com \
    --cc=sandeeptt@yahoo.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).