$ git clone -n https://gitee.com/fundawang/mosquitto.git /var/lib/mock/dist-an23-build-295467-65781/root/chroot_tmpdir/scmroot/mosquitto Cloning into '/var/lib/mock/dist-an23-build-295467-65781/root/chroot_tmpdir/scmroot/mosquitto'... $ git fetch origin ba2d76b162f8c3ee09b51b91ceefd5cabb9d89d6:KOJI_FETCH_HEAD From https://gitee.com/fundawang/mosquitto * [new ref] ba2d76b162f8c3ee09b51b91ceefd5cabb9d89d6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ba2d76b 2.0.17