Hello there,
I solved the problem by editing the following code as escaping some of the
quotes with backslashes:
command=”if [[ \"x${SSH_ORIGINAL_COMMAND}x\" == \"xx\" ]];
then /bin/bash;
else source ~/.bashrc; eval \”${SSH_ORIGINAL_COMMAND}\”; fi; ”
On Tue, Sep 11, 2012 at 12:55 PM, Saravanan P
<saravanan.p-tks5Z7IV8F8RmelmmXo44Q@public.gmane.org>wrote:
> Hello everyone,
>
> I know this is not correct place to ask this question but please help if
> you know
>
> As mentioned some tutorial, i install git version 1.7.3.4 in home
> directory (/var/chroot/home/content/xx/**xxxxxxx/git).
> then I initialize git repository by git init --bare in my samplerepo.git
> then i add code in .bashrc file as follow
>
> export GIT_BIN=${HOME}/git
> export PATH=${GIT_BIN}/bin:${PATH}
> export LD_LIBRARY_PATH=${GIT_BIN}/**lib:${LD_LIBRARY_PATH}
> export GIT_EXEC_PATH=${GIT_BIN}/**libexec/git-core
> export PATH=/usr/local/bin:/usr/**kerberos/bin:/usr/local/bin:/**
> bin:/usr/bin:/var/chroot/home/**content/88/9228188/bin:/var/**
> chroot/home/content/88/**9228188/libexec/git-core
>
> And i add following code in front of my ssh key
>
> command="if [[ "x${SSH_ORIGINAL_COMMAND}x" == "xx"
]]; then /bin/bash;
> else source ~/.bashrc; eval "${SSH_ORIGINAL_COMMAND}"; fi; "
>
> Finally in my local machine i create samplerepo.git and add index.html and
> git init and add remote by following successfully.
> git remote add origin
name-NPUVrKOc7JbChlkuVntMIg@public.gmane.org:~/html/proj**
> ectsdisplay.com/samplerepo.git
<http://projectsdisplay.com/samplerepo.git>
> **
> but i am facing error while try to push "git push origin master"
> Error message:
> bash: git-receive-pack: command not found
> fatal: The remote end hung up unexpectedly
>
> Please advice...
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/tu1hF7SgNhQJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Regards by
Saravanan.P
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.