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