Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zardoy/rename-repos
CLI to rename all local folder repos to `owner-name` or other template
https://github.com/zardoy/rename-repos
cli github-repos javascript repository utility
Last synced: 26 days ago
JSON representation
CLI to rename all local folder repos to `owner-name` or other template
- Host: GitHub
- URL: https://github.com/zardoy/rename-repos
- Owner: zardoy
- License: mit
- Created: 2021-06-22T06:32:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-01T07:47:43.000Z (almost 2 years ago)
- Last Synced: 2024-12-02T09:51:55.861Z (about 1 month ago)
- Topics: cli, github-repos, javascript, repository, utility
- Language: TypeScript
- Homepage: https://npmjs.com/rename-repos
- Size: 68.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
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` into `microsoft_vscode-eslint`.
- If you recently renamed a lot repos on GitHub you can run `update-names-from-github` action (note that `GITHUB_TOKEN` env must be set with at least `public_repo` scope) to update local names of repos (all folders from cwd) to match GitHub repo names.![demo](media/rename-demo.png)
## 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](https://docs.github.com/en/codespaces/developing-in-codespaces/using-codespaces-in-visual-studio-code).