$ git clone -n https://gitee.com/opencloudos-stream/txt2regex.git /var/lib/mock/dist-oc9-epol-build-78759-53104/root/chroot_tmpdir/scmroot/txt2regex Cloning into '/var/lib/mock/dist-oc9-epol-build-78759-53104/root/chroot_tmpdir/scmroot/txt2regex'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/txt2regex * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d343828 package init