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