$ git clone -n https://gitee.com/gordonwwang/mariadb_1.git /var/lib/mock/dist-ocs23-build-11453-571/root/chroot_tmpdir/scmroot/mariadb_1 Cloning into '/var/lib/mock/dist-ocs23-build-11453-571/root/chroot_tmpdir/scmroot/mariadb_1'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/gordonwwang/mariadb_1 * [new ref] -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c001e9f enabled test