$ git clone -n https://gitee.com/zhangwenlong01/hivex.git /var/lib/mock/dist-an23-build-329867-69396/root/chroot_tmpdir/scmroot/hivex Cloning into '/var/lib/mock/dist-an23-build-329867-69396/root/chroot_tmpdir/scmroot/hivex'... $ git fetch origin 5b2afcccff6a6201a332d8f2aae029cb59b57521:KOJI_FETCH_HEAD From https://gitee.com/zhangwenlong01/hivex * [new ref] 5b2afcccff6a6201a332d8f2aae029cb59b57521 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5b2afcc rebuild