$ git clone -n https://gitee.com/lxpzero/hivex.git /var/lib/mock/dist-an23.3-build-427594-73018/root/chroot_tmpdir/scmroot/hivex Cloning into '/var/lib/mock/dist-an23.3-build-427594-73018/root/chroot_tmpdir/scmroot/hivex'... $ git fetch origin 6c0474c950bbdbe56522382fc3567f73c9702c83:KOJI_FETCH_HEAD From https://gitee.com/lxpzero/hivex * [new ref] 6c0474c950bbdbe56522382fc3567f73c9702c83 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6c0474c Rebuild with new ruby