- Video 1
- Blog 1
- Creating ssh key and adding it to github - Github doc
- Modifying existing commit author
- By default all github related actions are connected to my work account
- In Users/myname/.gitconfig -> I have specified my global config. If the folder path is Documents/personal, then I load an additional config file for work (changes my email)
- In ~/.ssh folder -> I have setup the github remote configuration.
- By default my ssh key for work will be used.
- For personal projects, I will modify the remote url, so that this rule can identify differentiate it and load my personal ssh key.
- git clone git@github.com:rahuls360/authentication-demo.git
+ git clone git@github-personal:rahuls360/authentication-demo.git