$ git clone -n https://gitee.com/fundawang/redis.git /var/lib/mock/dist-an23-build-285123-64769/root/chroot_tmpdir/scmroot/redis Cloning into '/var/lib/mock/dist-an23-build-285123-64769/root/chroot_tmpdir/scmroot/redis'... $ git fetch origin e1c8555547e3700c3bbfbc895defabc071abdedb:KOJI_FETCH_HEAD From https://gitee.com/fundawang/redis * [new ref] e1c8555547e3700c3bbfbc895defabc071abdedb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e1c8555 7.0.12