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