[git-users] MacOs Mountain Lion git --version doesn't change after installing latest

2013-02-11 Thread email
Hi! I just installed git 1.8.1.3 using the dmg downloaded from the official 
site. After installation (and mac restart) though, git --version still 
tells 1.6.4.2

How can I fix this?

thank you

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[git-users] Re: MacOs Mountain Lion git --version doesn't change after installing latest

2013-02-18 Thread email
Ok guys, my solution in the end was:

- create a ~/.bash_profile file
- write:
export PATH=/usr/local/bin:$PATH
- restart the terminal

I do not know very well all the path-config files and the real order they 
are read. I only know a few unix commands..
My current files in ~/ are:

 ~/.profile:

if [ -f ~/.bashrc ];
then
source ~/.bashrc
fi

 ~/bashrc:

. ~/bin/dotfiles/bashrc

then in . ~/bin/dotfiles/bashrc

. ~/bin/dotfiles/bash/env
. ~/bin/dotfiles/bash/config
. ~/bin/dotfiles/bash/aliases

and in . ~/bin/dotfiles/bash/env:

export PATH=/usr/local/bin:/opt/local/bin:/opt/local/sbin:$PATH

. ~/bin/dotfiles/bash/config is just empty

and . ~/bin/dotfiles/bash/aliases contains some alias commad.

Anyway, it SHOULD have read ~/bin/dotfiles/bash/env, but it doesn't. Or it 
reads it only after /etc/paths

~/.bash_profile is read first instead.

My current /etc/paths:

/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin

My current echo $PATH

/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin

So IT WORKS, but it's quite a mess, since I've got 2 
/usr/local/bin AND an /usr/local/git/bin

Also, I cannot understand WHY now it works, since /usr/local/bin only 
contains bbedit commands:

bbdiff
bbedit
bbfind

Can anyone explain me the these mechanics? :P Or Maybe I should post this 
question to some Unix group?

Thank you








-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[git-users] git equivalent to svn info?

2008-09-17 Thread [EMAIL PROTECTED]

Is there an easy way with git to get the URL of the repository that
you cloned from, similar to what svn info shows for a subversion
repository? I see it's stored in [remote origin]-url section of
the .git/config, but I was hoping for an easy-to-remember command to
display it.

I often just cd into a directory and do svn info when I want to tell
people how to checkout my repository so it would be nice to have
something for git that does this.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en
-~--~~~~--~~--~--~---