$ git clone -n https://gitee.com/xzyang-anolis/dde-session-ui.git /var/lib/mock/dist-an23-dde-build-323189-68457/root/chroot_tmpdir/scmroot/dde-session-ui Cloning into '/var/lib/mock/dist-an23-dde-build-323189-68457/root/chroot_tmpdir/scmroot/dde-session-ui'... $ git fetch origin 685766c1e0994799c3e8c395b06045f75213fc43:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/dde-session-ui * [new ref] 685766c1e0994799c3e8c395b06045f75213fc43 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 685766c fix build error