$ git clone -n https://gitee.com/lxpzero/hivex.git /var/lib/mock/dist-an23.3-build-414356-72844/root/chroot_tmpdir/scmroot/hivex Cloning into '/var/lib/mock/dist-an23.3-build-414356-72844/root/chroot_tmpdir/scmroot/hivex'... $ git fetch origin 4e15a3dbd80e26a7037893c35360dd40bf255fd6:KOJI_FETCH_HEAD From https://gitee.com/lxpzero/hivex * [new ref] 4e15a3dbd80e26a7037893c35360dd40bf255fd6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4e15a3d update to 1.3.24-2