$ git clone -n https://gitee.com/opencloudos-stream/libesmtp.git /var/lib/mock/dist-oc9-epol-build-105515-66583/root/chroot_tmpdir/scmroot/libesmtp Cloning into '/var/lib/mock/dist-oc9-epol-build-105515-66583/root/chroot_tmpdir/scmroot/libesmtp'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/libesmtp * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e5cd2d3 update