[git-users] git: Command not found.
I have a clone of a local repository on my computer, and when I try to issue any git command from Terminal I get this git: Command not found.. That seems to indicate that git is not in the directory containing the clone, but it is. In fact I have used GITX (the graphical interface for Mac) to make 10 commits to this clone, so I know it exists. Plus, I can see the .git directory within the directory containing the clone. And I have an exclude file in .git info to exclude tracking images, etc. Can someone explain why I can't access this clone through Terminal? -- 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.
Re: [git-users] git: Command not found.
I have a clone of a local repository on my computer, and when I try to issue any git command from Terminal I get this git: Command not found.. That seems to indicate that git is not in the directory containing the clone, but it is. Actually, this is indicating that the git program can't be found on your computer. It sounds like you have in fact installed Git, so this probably means you haven't added it to your PATH environment variable. Try running the following in your Terminal: export PATH=/usr/local/git/bin:$PATH Then try running your git command again. You'll probably want to add this like to your ~/.bash_profile so you don't have to worry about doing it every time you need the Git command line. Hope that helps, Ryan -- 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.
Re: [git-users] git: Command not found.
I'd try downloading and installing Mac OS Git client - http://git-scm.com/download/mac. Or run sudo find / -name git to see where it's located if you believe it is installed already. On my Mac which git tells me /usr/local/git/bin/git. On Wed, Feb 27, 2013 at 9:51 PM, John McKown john.archie.mck...@gmail.comwrote: The command git is not in any of the directories in the $PATH environment variable. I don't use MacOSX much at all, so I don't know how to set up this for a Terminal session. This might help: http://www.tech-recipes.com/rx/2621/os_x_change_path_environment_variable/ I think you can use Finder to determine which subdirectory contains the git command. On Wed, Feb 27, 2013 at 2:42 PM, banaca...@gmail.com wrote: I have a clone of a local repository on my computer, and when I try to issue any git command from Terminal I get this git: Command not found.. That seems to indicate that git is not in the directory containing the clone, but it is. In fact I have used GITX (the graphical interface for Mac) to make 10 commits to this clone, so I know it exists. Plus, I can see the .git directory within the directory containing the clone. And I have an exclude file in .git info to exclude tracking images, etc. Can someone explain why I can't access this clone through Terminal? -- 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. -- This is a test of the Emergency Broadcast System. If this had been an actual emergency, do you really think we'd stick around to tell you? Maranatha! John McKown -- 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. -- 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: command not found
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 -- 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.
Re: [git-users] git: command not found
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.