$ git clone -n https://gitee.com/opencloudos-stream/gutenprint.git /var/lib/mock/dist-ocs23-base-build-270434-25836/root/chroot_tmpdir/scmroot/gutenprint Cloning into '/var/lib/mock/dist-ocs23-base-build-270434-25836/root/chroot_tmpdir/scmroot/gutenprint'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/gutenprint * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c69a84e Rebuilt for loongarch release