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