$ git clone -n https://gitee.com/wenyuzifang/mariadb.git /var/lib/mock/dist-an23-build-469577-74027/root/chroot_tmpdir/scmroot/mariadb Cloning into '/var/lib/mock/dist-an23-build-469577-74027/root/chroot_tmpdir/scmroot/mariadb'... $ git fetch origin c75047d1eef525248b86f69b005f5345db352709:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/mariadb * [new ref] c75047d1eef525248b86f69b005f5345db352709 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c75047d Update code from upstream