$ git clone -n https://gitee.com/xzyang-anolis/dde-device-formatter.git /var/lib/mock/dist-an23-dde-build-322383-68271/root/chroot_tmpdir/scmroot/dde-device-formatter Cloning into '/var/lib/mock/dist-an23-dde-build-322383-68271/root/chroot_tmpdir/scmroot/dde-device-formatter'... $ git fetch origin ed3a6fbb5b79bc1cfaf20377d299516d0780e3bd:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/dde-device-formatter * [new ref] ed3a6fbb5b79bc1cfaf20377d299516d0780e3bd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ed3a6fb fix build error