$ git clone -n https://gitee.com/src-opencloudos-rpms/memcached.git /var/lib/mock/dist-oc9-build-47265-14592/root/chroot_tmpdir/scmroot/memcached Cloning into '/var/lib/mock/dist-oc9-build-47265-14592/root/chroot_tmpdir/scmroot/memcached'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/memcached * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5ebd523 import memcached-1.6.17-4.tl4