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