Git-svn not in path since intrepid

Asked by Nick_S

Today I installed git and git-svn on my karmic box. After that I tried to execute git-svn but that command isn't found. It seems it is installed at /usr/lib/git-core/git-svn instead of /usr/bin/git-svn as it used to. (In Intrepid if I recall correctly)

What is the reasoning of not putting the executables in the path? Is the recommended way to add /usr/lib/git-core to your path or to add symlinks to /usr/bin?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu git-core Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#1

Here is the documentation for git-svn

http://www.kernel.org/pub/software/scm/git/docs/git-svn.html

So the right Terminal command is

git svn init

So you need to remove the - between git and svn

Revision history for this message
Nick_S (nick-stolwijk-xs4all) said :
#2

That makes sense. But shame it didn't show up on executing git. I see, it says "The most commonly used git commands are". Is there a way to let git show all available git commands?

Revision history for this message
Nick_S (nick-stolwijk-xs4all) said :
#3

Never mind, I'v RTFM'ed. ;) It is "git --help -a"

Revision history for this message
Nick_S (nick-stolwijk-xs4all) said :
#4

Thanks Mark Rijckenberg, that solved my question.