$ git clone -n https://gitee.com/opencloudos-stream/rdesktop.git /var/lib/mock/dist-oc9-epol-build-78326-53014/root/chroot_tmpdir/scmroot/rdesktop Cloning into '/var/lib/mock/dist-oc9-epol-build-78326-53014/root/chroot_tmpdir/scmroot/rdesktop'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/rdesktop * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 567d5ce package init