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