$ git clone -n https://gitee.com/renbo02/go-toolset.git /var/lib/mock/dist-an8.8-build-317193-67598/root/chroot_tmpdir/scmroot/go-toolset Cloning into '/var/lib/mock/dist-an8.8-build-317193-67598/root/chroot_tmpdir/scmroot/go-toolset'... $ git fetch origin 9c818b2efbd0cc303ac91597a52c90214dc19c50:KOJI_FETCH_HEAD From https://gitee.com/renbo02/go-toolset * [new ref] 9c818b2efbd0cc303ac91597a52c90214dc19c50 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9c818b2 update to go-toolset-1.19.13-1