Re: problem pushing repository
- From
Adam Mercer <ramercer@gmail.com>
- Date
- Jun 22, 2007, 13:36 UTC
- Message-ID
- <799406d60706220636q4f7a3c17v6833d2eda25e8f0d@mail.gmail.com>
- In-Reply-To
- <20070622022426.GA2961@bowser.ruder>
On 21/06/07, Andrew Ruder <andy@aeruder.net> wrote:
Show 14 quoted lines
> On Thu, Jun 21, 2007 at 07:00:18PM -0700, Junio C Hamano wrote: > > $ ssh newberry.ihepa.ufl.edu sh -c 'echo $PATH' > > > > may be a good starting point to test this, and the first step > > to fix it would be > > > > $ man ssh > > $ man sshd > > While I wholeheartedly agree with Junio here, you may also find > > remote.<name>.receivepack > > useful, see git-push(1) and git-config(1) for more information.
This seems like the best way to fix this issue, however it isn't clear from the man page what I need to put in my ~/.gitconfig. With the following in .gitconfig
[remote] glue.receivepack = /home/ram/opt/git/bin/git-receive-pack
I get the following error when trying to push
[ram@skymoo glue]$ git push ssh://newberry.ihepa.ufl.edu/~/public_html/git/glue.git fatal: bad config file line 6 in /Users/ram/.gitconfig
so this is clearly not the right entry. Can someone please give me a push in the right direction?
Cheers
Adam