TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: git-repo-name – CLI to sync repo name between local and remote

1 pointsby poundofshrimpabout 2 months ago
Hey HN,<p>I frequently create GitHub repos for new projects and sometimes have to rename them to keep things organized. To make renaming easier, I built a CLI tool that helps to keep local and remote git repository names in sync.<p>It works bi-directionally and supports these two main use cases:<p>- When you rename a repo on GitHub, you can run `git-repo-name pull` to update the local git directory name. - When you rename a local git directory, you can run `git-repo-name push` to rename the repo on GitHub.<p>In both cases, it makes an API call to GitHub, compares the repo name to the local directory name, and automatically renames the appropriate side.<p>Feel free to try it out and let me know what you think!

no comments

no comments