Efficiently manage your forked Raycast extensions using Git sparse-checkout. Explore the full extension catalog, selectively checkout specific extensions, and remove extensions from your forked collection with ease.
This extension leverages the Git sparse-checkout feature to efficiently manage your forked extensions. Our goal is to eliminate the need for cloning the entire repository, which can exceed 20 GB in size, by enabling sparse-checkout. With this extension, you can forgo Ray CLI's pull-contributions
and publish
commands, allowing you to use Git commands directly for managing your extensions.
This extension requires the following GitHub API permission scopes:
public_repo
api.repositoryExists()
- Checks if the user's forked repository existsapi.getForkedRepository()
- Retrieves the full name of the user's forked repositoryapi.compareTwoCommits()
- Compares two commits in the user's forked repositoryworkflow
api.syncFork()
- Syncs the forked repository with the upstream repository on GitHubYou can always open your forked extension folder in the terminal to work with CLI commands directly. We also prepared a CHEATSHEET.md if you want to learn more about the Git commands used in this extension.
.git
folder still has a massive size"You might need some manual cleanup to reduce the size of your .git
folder. Here are a few methods you can take:
git gc
to clean up unnecessary files and optimize the local repositorygit fsck
to check the integrity of the repositorygit prune
to remove any objects that are no longer referenced by your branchesgit maintenance
to perform various maintenance tasks on your repositoryBut we recommend using a new clone of the repository to start fresh with a smaller .git
folder.
MIT