$ git clone -n https://src.fedoraproject.org/rpms/fcitx5-configtool.git /var/lib/mock/f40-build-2436555-60805/root/chroot_tmpdir/scmroot/fcitx5-configtool Cloning into '/var/lib/mock/f40-build-2436555-60805/root/chroot_tmpdir/scmroot/fcitx5-configtool'... $ git fetch origin 2353f1f39f74856b35619cb5279454c6177c1616:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/fcitx5-configtool * [new ref] 2353f1f39f74856b35619cb5279454c6177c1616 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2353f1f require explicitly package instead of path