Skip to content

use batch file to switch between github accounts

Notifications You must be signed in to change notification settings

theo923/switchgit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

How to use

Use txt editor to open the bat file

Make changes for the following parameters:

PN=your personal user.name

PM=your personal user.email

WPN=your workplace user.name

WPM=your workplace user.email

Environmental Variables:

Place the switchgit.bat to C:\user\USERNAME\AppData\Local\Batch\ or any path you want

Open your control panel > user > user account > environmental variable > Path > modify > add C:\user\USERNAME\AppData\Local\Batch\ to it

You may also need a reboot to make it works

Then you can open the console and type switchgit to run it

About

use batch file to switch between github accounts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published