$ git clone -n https://gitee.com/xzyang-anolis/glew.git /var/lib/mock/dist-an23-build-336586-69693/root/chroot_tmpdir/scmroot/glew Cloning into '/var/lib/mock/dist-an23-build-336586-69693/root/chroot_tmpdir/scmroot/glew'... $ git fetch origin 90118fcf6b63a3985c87c1b2583913619934b748:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/glew * [new ref] 90118fcf6b63a3985c87c1b2583913619934b748 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 90118fc pkg init