[Vm-dev] a couple of git issues

Alistair Grant akgrant0710 at gmail.com
Fri Apr 28 05:20:56 UTC 2017


Hi Eliot,

On Thu, Apr 27, 2017 at 07:41:46PM -0700, Eliot Miranda wrote:
>  
> Hi All,
> 
>     first, is there a way we can modify the checkin script (scripts/gitci) to
> check for incoming changes so that by default the check-in fails?  Some people
> may check automatically but I always forget and its annoying to have to merge
> later on.
> 
>     second, to eliminate this error message:
> 
> remote: Resolving deltas: 100% (17/17), completed with 8 local objects.
> remote: This repository moved. Please use the new location:
> remote:   https://github.com/OpenSmalltalk/opensmalltalk-vm.git
> To http://github.com/OpenSmalltalk/vm
> 
> should I simply edit .git/configure to change
> 
> [remote "origin"]
> url = http://github.com/OpenSmalltalk/vm
> 
> to
> 
> [remote "origin"]
> url = https://github.com/OpenSmalltalk/opensmalltalk-vm.git
> 
> ?  Or something else?


You can view the repository URL(s) with:

  git remote -v

and change them with:

  git remote set-url origin https://github.com/OpenSmalltalk/opensmalltalk-vm.git

and of course:

  git remote --help

for more information.

Cheers,
Alistair


More information about the Vm-dev mailing list