$ git clone -n https://gitee.com/opencloudos-stream/squashfs-tools-ng.git /var/lib/mock/dist-ocs23-epol9-build-231556-19312/root/chroot_tmpdir/scmroot/squashfs-tools-ng Cloning into '/var/lib/mock/dist-ocs23-epol9-build-231556-19312/root/chroot_tmpdir/scmroot/squashfs-tools-ng'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/squashfs-tools-ng * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6aa2197 update