On Apr 3, 2011, at 5:42 PM, suresh <suresh.amritap...@gmail.com> wrote:

> Hi
> 
> I am able to use, git --version, git init, git commit -a successfully
> from my ubuntu 10.04 running git version 1.7.0.4. But when i give
> 
> 
> git config core.editor "vi"
> 
> I get an error message, git: command not found.
> 
> What is happening?
> 
> suresh

What happens if you do this?:

git config --global core.editor vim

Do you have an executable called "git-config" anywhere in your path? (you 
shouldn't). Have you always used ubuntu's build or did you ever build your own?
-- 
        David

-- 
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 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to