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