Skip to content

Bash script to help folks update git remote URLs when a GitHub organization changes names

License

Notifications You must be signed in to change notification settings

cisagov/github_org_name_change

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Organization Name Change Script 🚛

What is this?

This is a simple bash script intended to help folks update their git remotes when a GitHub organization undergoes a name change. The tool updates the default git remote (origin) for all git repositories directly inside the specified directory. The git remotes are updated by replacing instances of old_org_name with new_org_name.

update_git_repos.sh old_org_name new_org_name directory

License

This project is in the worldwide public domain.

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

About

Bash script to help folks update git remote URLs when a GitHub organization changes names

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages