git user manager cli in git repo
npm install -g umg
umg
umg add <username>
🌰:
umg add qwe qwe@gmail.com
output:
SUCCESS Add user qwe success, run umg use qwe command to use qwe user.
umg rm <username>
🌰:
umg rm qwe
output:
SUCCESS Remove user qwe success.
umg ls
output:
* wstreet7 ------- wstreet7@outlook.com
streetd -------- streetd@163.com
umg use <username>
umg use streetd
output:
SUCCESS The user has been changed to 'streetd'.
- Set global user