Last active
March 20, 2023 06:13
-
-
Save motaher13/6e952b2b96a915f9fb134599a7f7f556 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. resource: https://gist.github.com/Jonalogy/54091c98946cfe4f8cdab2bea79430f9 | |
2. register your ssh key to all git accounts | |
3. Edit ~./ssh/config file | |
#personal | |
Host github.com | |
Hostname ssh.github.com | |
Port 443 | |
#git shipday | |
Host github.com-motaher-s13 | |
HostName ssh.github.com | |
Port 443 | |
4. for only personal repos, update the repo config file | |
go to-> git config --local -e | |
replace -> | |
[remote "origin"] | |
url = git@github.com-motaher13:motaher13/Solved-OJ-problems.git | |
fetch = +refs/heads/*:refs/remotes/origin/* | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment