Skip to content

ChangeTheCode/gitprofileswitch-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Switch easily your git user

This powershell script provides you the possibility to easily change your git user. For example you have git user for our work and for some private work.

Here you can define in the config.json file your profiles

{
    "profiles": [
        {
            "profilekind" : "private",
            "name" : "name of user",
            "mail" : "email-address"
        },
        {
            "profilekind" : "work",
            "name" : "name of user",
            "mail" : "email-address"
        }
    ]
}

To use the this script you can call the following command in your powershell:

.\gitProfileSwitch-script.ps1 -profilekind "work"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published