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