$ git clone -n https://gitee.com/newstart-gdlc/libfm.git /var/lib/mock/dist-an23-nde-build-498298-73607/root/chroot_tmpdir/scmroot/libfm Cloning into '/var/lib/mock/dist-an23-nde-build-498298-73607/root/chroot_tmpdir/scmroot/libfm'... $ git fetch origin 0d38af6a962734b2e55b2da5d7862ec21abc9a79:KOJI_FETCH_HEAD From https://gitee.com/newstart-gdlc/libfm * [new ref] 0d38af6a962734b2e55b2da5d7862ec21abc9a79 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0d38af6 Fix build err and Generate build requires