$ git clone -n https://gitee.com/hongwei-qin/mariadb-connector-c.git /var/lib/mock/dist-an23.3-build-414974-72844/root/chroot_tmpdir/scmroot/mariadb-connector-c Cloning into '/var/lib/mock/dist-an23.3-build-414974-72844/root/chroot_tmpdir/scmroot/mariadb-connector-c'... $ git fetch origin 9476a196f64ae9274cc587ae622e3f03844091de:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/mariadb-connector-c * [new ref] 9476a196f64ae9274cc587ae622e3f03844091de -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9476a19 update to 3.4.3