$ git clone -n https://gitee.com/xzyang-anolis/deepin-compressor.git /var/lib/mock/dist-an23-dde-build-345123-70117/root/chroot_tmpdir/scmroot/deepin-compressor Cloning into '/var/lib/mock/dist-an23-dde-build-345123-70117/root/chroot_tmpdir/scmroot/deepin-compressor'... $ git fetch origin 6244fef3e6f545f27024cac621fd362076889b02:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/deepin-compressor * [new ref] 6244fef3e6f545f27024cac621fd362076889b02 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6244fef fix build error