$ git clone -n https://gitee.com/sys0613/mozjs78.git /var/lib/mock/dist-an23-build-272786-64181/root/chroot_tmpdir/scmroot/mozjs78 Cloning into '/var/lib/mock/dist-an23-build-272786-64181/root/chroot_tmpdir/scmroot/mozjs78'... $ git fetch origin ba7e11c0ee82d45fe2aa52aa117d5a15396b7546:KOJI_FETCH_HEAD From https://gitee.com/sys0613/mozjs78 * [new ref] ba7e11c0ee82d45fe2aa52aa117d5a15396b7546 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ba7e11c Drop mozjs as orphan package