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