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