Re: git --version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/31/06, Linus Torvalds <torvalds@xxxxxxxx> wrote:
On Wed, 31 May 2006, Paolo Ciarrocchi wrote:
> >
> >         git describe
>
> paolo@Italia:~/git$ git describe
> v1.3.3-g2186d56

Ok.

> >         ./git --version
>
> paolo@Italia:~/git$ ./git --version
> git version 1.3.3.g2186
>
> Doh..

Ok, that's also good.

> >         which git
>
> paolo@Italia:~/git$ which git
> /home/paolo/bin/git

I think I know what's up.

Your "sudo" made "$HOME" be /root. So by doing "sudo make install", you
installed the git in _roots_ ~/bin, ie /root/bin/.


Doh... not sure to follow you, just did:
sudo make install
paolo@Italia:~/git$ ls /root/
paolo@Italia:~/git$ git --version
git version 1.3.GIT



--
Paolo
http://paolociarrocchi.googlepages.com
-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]