git.int.autonlab.org updated

Donghan Wang donghanw at cs.cmu.edu
Thu Nov 2 09:25:50 EDT 2017


Hi Predrag,

The problem is resolved. I was able to push local branches to remote
repositories. Thank you!

Thanks,
Jarod

On Wed, Nov 1, 2017 at 10:58 PM, Predrag Punosevac <predragp at andrew.cmu.edu>
wrote:

> Donghan Wang <donghanw at cs.cmu.edu> wrote:
>
> > Hi Predrag,
> >
> > It seems bash is not available on the git server.
> >
> > The issue occurs when you push a local branch to a remote repository.  To
> > reproduce the issue, run the following commands
> >
> > On your workstation, check out any repository
> >
> > > git clone ssh://git@git.int.autonlab.org:2222/MCBA/ui.git
> >
> > # create a new local branch "new-branch"
> > > git checkout -b new-branch
> >
> > # push it to the remote repo
> > > git push origin new-branch
> >
> > You will see error messages like this
> >
> > Total 0 (delta 0), reused 0 (delta 0)
> > remote: env: bash: No such file or directory
> > To ssh://git@git.int.autonlab.org:2222/MCBA/ui.git
> >  ! [remote rejected] new-branch -> new-branch (pre-receive hook declined)
> >
>
> I just changed the default shell of user git to bash and restarted the
> Gogs server. Please try again and see if you can reproduce the problem.
>
> Cheers,
> Predrag
>
>
> > Thanks,
> > Jarod
> >
> > On Wed, Nov 1, 2017 at 3:38 PM, Predrag Punosevac <
> predragp at andrew.cmu.edu>
> > wrote:
> >
> > > Dear Autonians,
> > >
> > > Please remove git.int.autonlab.org from .ssh/known_hosts and clear the
> > > cash of your browsers to start using upgraded version Gogs/git.  Please
> > > report any odd behavior right away.  The old version is still up and
> > > running but I am the only one who can see it. I will keep it a day or
> > > two for safety reasons.
> > >
> > > Best,
> > > Predrag
> > >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.srv.cs.cmu.edu/pipermail/autonlab-users/attachments/20171102/e2c8f21f/attachment.html>


More information about the Autonlab-users mailing list