https://github.com/qqpann/github-rename
  
  
    A helper to change .git config url after renaming your GitHub id. 
    https://github.com/qqpann/github-rename
  
        Last synced: 5 months ago 
        JSON representation
    
A helper to change .git config url after renaming your GitHub id.
- Host: GitHub
 - URL: https://github.com/qqpann/github-rename
 - Owner: qqpann
 - License: mit
 - Created: 2018-06-25T04:51:55.000Z (over 7 years ago)
 - Default Branch: master
 - Last Pushed: 2018-06-26T00:56:04.000Z (over 7 years ago)
 - Last Synced: 2025-05-31T06:17:37.676Z (5 months ago)
 - Language: Python
 - Homepage:
 - Size: 7.81 KB
 - Stars: 0
 - Watchers: 1
 - Forks: 1
 - Open Issues: 1
 - 
            Metadata Files:
            
- Readme: README.md
 - License: LICENSE
 
 
Awesome Lists containing this project
README
          # GitHub-rename
A helper to change .git origin url after renaming your GitHub id.
## Install
```terminal
pip install github-rename
```
## Usage
### Example
Change from qiugits to qqghst.
```terminal
$ github-rename -f qiugits -t qqghst
Searching for ./.git/config...
Replaced line(s):
        url = https://github.com/qiugits/GitHub-rename.git
->      url = https://github.com/qqghst/GitHub-rename.git
Matched and replaced 1 time(s).
./.gitmodules does not exist.
```
```terminal
$ github-rename -h
Usage: github-rename [OPTIONS]
  GitHub-rename
  This cli tool helps you to rename your github urls
  in .git/config and .gitmodules.
  Please help us improve by opening issues
  in https://github.com/qqghst/GitHub-rename
Options:
  -f, --from TEXT   Name to change from.
  -t, --to TEXT     Name to change to.
  --bak / --no-bak  Make .bak file for backup. (Defalult is True)
  --version         Show the version and exit.
  -h, --help        Show this message and exit.
```