Skip to contentSkip to conversation

Secondary --exec-path?

DISCUSSION Joel C. Salomon 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

I just downloaded git-subtree, and the installation instructions have me copying the executable file to git --exec-path, i.e., to /usr/lib/git-core.

I'm looking through the documentation for a possible second location for these scripts, perhaps somewhere in /usr/local, or in /home/me -- is there such a path? I'd rather not step on my distro's toes if I can help it.

--Joel Salomon

#1 lore raw
Quoted 8 lines · Joel C. Salomon

I just downloaded git-subtree, and the installation instructions have me copying the executable file to git --exec-path, i.e., to /usr/lib/git-core.

I'm looking through the documentation for a possible second location for these scripts, perhaps somewhere in /usr/local, or in /home/me -- is there such a path? I'd rather not step on my distro's toes if I can help it.

Put the git-substree script into any path you want (such as $HOME/bin) and then add that to your $PATH. Or simply drop it to /usr/bin.

tom