Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 455 Bytes

git.md

File metadata and controls

29 lines (20 loc) · 455 Bytes

Configuring Git and Github

git config --global user.name "Your Name"
git config --global user.email "yourname@example.com"
git config --global init.defaultBranch main
git config --global color.ui auto
git config --global core.editor "vim"
git config --get user.name
git config --get user.email
ssh-keygen -t ed25519 -C <youremail>
cat ~/.ssh/id_ed25519.pub