[cfarm-users] Migration of gcc119

Jonathan Wakely jwakely.gcc at gmail.com
Mon Sep 11 12:43:39 CEST 2023


On Wed, 23 Aug 2023 at 05:46, Noah Misch via cfarm-users
<cfarm-users at lists.tetaneutral.net> wrote:
>
> On Tue, Aug 22, 2023 at 07:39:08PM -0700, Daniel B. Widdis via cfarm-users wrote:
> > Any chance of getting git installed?
> >
> > $ rpm -qa | grep git
> > git-core-2.38.3-1.ppc
> > git-2.38.3-1.ppc
> > git-core-doc-2.38.3-1.noarch
> > $ git init
> > ksh: git:  not found.
>
> It's at /opt/freeware/bin/git

Which can't be found when trying to push to a remote on gcc119:

$ git push gcc119 master
bash: line 1: git-receive-pack: command not found
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


You can solve that by telling the client-side git where to find it:

git push --receive-pack=/opt/freeware/bin/git-receive-pack gcc119 master

which can be configured to be used every time:

git config remote.gcc119.receivepack /opt/freeware/bin/git-receive-pack


More information about the cfarm-users mailing list