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
git config --global user.name "Your Name" | |
git config --global user.email "yourname@example.com" | |
git config --global init.defaultBranch main | |
ssh-keygen -t ed25519 -C <youremail> | |
cat ~/.ssh/id_ed25519.pub | |
#copy the whole output | |
#Add SSH key to github [https://github.com/settings/keys] | |
#Copy your repo's SSH url. | |
git clone git@github.com:USER-NAME/REPOSITORY-NAME.git | |
#TO ADD LOCALLY CREATED FOLDER |