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