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