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