Skip to content

git-switch is a tool to switch between github accounts

License

Notifications You must be signed in to change notification settings

PhilipMello/git-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔧 Git-Switch

📝 About

Git-Switch - 2 Github Accounts on the same linux user

📚 Index


🔧 Git-Switch

For Linux 🐧

wget https://raw.githubusercontent.com/PhilipMello/git-switch/main/gswitch && chmod +x gswitch

RUN:

./gswitch

Manual:

./gswitch -h

To run in Pipeline:

./gswitch --account1 OR ./giswitch --account2

For Windows 🪟

wget https://github.com/PhilipMello/scripts/blob/main/gswitch.ps1

RUN:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser && ./gswitch.ps1

🔧 Switch Github Account


🔧 Generate SSH Key


🔧 Test Github SSH connection


🔧 Set Github account


🔧 Fix file permissions

About

git-switch is a tool to switch between github accounts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages