rename-repos
v0.0.1
Published
CLI tool to rename cloned GitHub repos folder names
Downloads
1
Readme
Owner-name repos
Advanced utility for managing names of your cloned repos from GitHub.
What is does?
Note: I don't really maintain this utility, but it's alive
This is the most comprehensive CLI to:
- Rename repos to
owner_repo-name
template. Ex:vscode-eslint
intomicrosoft_vscode-eslint
.<!-- or other template (--template YOUR_TEMPLATE
) --> - If you recently renamed a lot repos on GitHub you can run
update-names-from-github
action (note thatGITHUB_TOKEN
env must be set with at leastpublic_repo
scope) to update local names of repos (all folders from cwd) to match GitHub repo names.
Philosophy
By default, git clone
and even gh repo clone
chooses the name for the directory just repo name, but if you need to clone (for some reason) forks of different people.
And yes, I still prefer to clone every repo locally rather than work with them remotely.