$ git clone -n https://gitee.com/mgb01105731/numpy.git /var/lib/mock/dist-an23.3-build-429128-73027/root/chroot_tmpdir/scmroot/numpy Cloning into '/var/lib/mock/dist-an23.3-build-429128-73027/root/chroot_tmpdir/scmroot/numpy'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/numpy * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6bf15b7 update to 2.2.4