$ git clone -n https://gitee.com/wency_cn/numpy.git /var/lib/mock/dist-an23-build-491173-74530/root/chroot_tmpdir/scmroot/numpy Cloning into '/var/lib/mock/dist-an23-build-491173-74530/root/chroot_tmpdir/scmroot/numpy'... $ git fetch origin 337e94b75f61c364cb8732d4e39c2f9178fff58e:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/numpy * [new ref] 337e94b75f61c364cb8732d4e39c2f9178fff58e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 337e94b Update code from upstream