Skip to content

Small utility which allows to update GitHub organization to new name for local repositories recursively

License

Notifications You must be signed in to change notification settings

apis/org-rename

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

org-rename

Small utility which allows mass update of GitHub organization name for local git repositories

Command line parameters

Usage of org-rename.exe:
  -directory string
        parent directory (default ".")
  -dryRun
        dry run (don't change actual files) (default true)
  -newOrg string
        new organization name (default "PerkinElmerAES")
  -oldOrg string
        old organization name (default "PerkinElmer")

Example run

org-rename -directory=. -oldOrg=PerkinElmer -newOrg=PerkinElmerAES -dryRun=false

[INFO] 2023-03-16 17:24:54 - Flag dryRun assigned to 'false'
[INFO] 2023-03-16 17:24:54 - Flag directory assigned to '.'
[INFO] 2023-03-16 17:24:54 - Flag oldOrg assigned to 'PerkinElmer'
[INFO] 2023-03-16 17:24:54 - Flag newOrg assigned to 'PerkinElmerAES'
[INFO] 2023-03-16 17:24:54 - ===============================================
[INFO] 2023-03-16 17:24:54 - Your local GitHub repositories will be updated!
[INFO] 2023-03-16 17:24:54 - ===============================================
[INFO] 2023-03-16 17:24:54 - Analyzing '.git\config'
[INFO] 2023-03-16 17:24:54 - Analyzing 'test\.git\config'
[INFO] 2023-03-16 17:24:54 - Changed '  url = [email protected]:PerkinElmerAES/cds.git'
[INFO] 2023-03-16 17:24:54 - Changed '[lfs "https://github.com/PerkinElmerAES/cds.git/info/lfs"]'
[INFO] 2023-03-16 17:24:54 - Changed '  url = [email protected]:PerkinElmerAES/simba.git'

About

Small utility which allows to update GitHub organization to new name for local repositories recursively

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages