605 B
605 B
| title | description | published | date | tags | editor | dateCreated |
|---|---|---|---|---|---|---|
| Setting Up Git | Steps to get up and running with Git | true | 2024-06-30T20:44:58.238Z | markdown | 2024-06-30T20:44:58.238Z |
Setting Up Git
- Install and configure git:
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 pull.rebase false
- Create SSH Key
ssh-keygen -t ed25519
- Copy public key to server
cat ~/.ssh/id_ed25519.pub
- Clone desired repo using ssh