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