New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gh-user-change

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gh-user-change

Too lazy to do find/replace of the username for all git files & $ git remote set-url https://github.com/<new-username>/repo.git

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

gh-user-change

Too lazy to do find/replace of username on all git files & git remote set-url https://github.com/<new-username>/repo.git

Installation

  • npm install -g gh-user-change

Usage

$ gh-user-change
Usage: [-d <Dir> ] [-o <Old User>] [-n <New User>] [-h]


Options:

-d, --dir <Dir Path>: find all git dir in given <Dir Path>
-o, --old-user <Old Username>: Old git Username for existing git remote urls
-n, --new-user <New Username>: New git Username for replacing existing git remote urls
-h , --help: show this help message and exit
Examples:
$ gh-user-change -d ~/LocalGitDir/ --old-user zuck007 -n prdpx7

Keywords

FAQs

Package last updated on 20 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc