2.0.2 • Published 5 years ago

update-git-origin v2.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

Update Git Origin

npm

This module was built to replace .git/config origins. Designed to be used in a directory that contains git repos

i.e. a Projects/ directory like so:

Projects/
--myCoolWebsite/.git/config
--anotherProject/.git/config
--dirWithoutGit/
--someOtherProject/.git/config
...etc...

Example:

To install:
npm i -g update-git-origin

Traverse to a directory containing repos you'd like to change:
cd Projects/
update-git-origin

Prompt:
? Enter Old (Current) Git Origin: git.example.com
? Enter New Git Origin: git-new.example.com

It will iterate through the directories (1 deep) and update the origins. While it is not often that you change git origins, It made my life easier when changing private hosted git domains so why not.

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago