$ git clone -n https://gitee.com/newstart-gdlc/nde-systemsettings_1.git /var/lib/mock/dist-an23-nde-build-507825-74947/root/chroot_tmpdir/scmroot/nde-systemsettings_1 Cloning into '/var/lib/mock/dist-an23-nde-build-507825-74947/root/chroot_tmpdir/scmroot/nde-systemsettings_1'... $ git fetch origin e0c213f18d1ac8f3c8b411ee9f645c03cddb3d8c:KOJI_FETCH_HEAD From https://gitee.com/newstart-gdlc/nde-systemsettings_1 * [new ref] e0c213f18d1ac8f3c8b411ee9f645c03cddb3d8c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e0c213f Fix build error