diff --git a/community-website/pages/learn-git-and-github.tsx b/community-website/pages/learn-git-and-github.tsx
index 472a796..b896aeb 100644
--- a/community-website/pages/learn-git-and-github.tsx
+++ b/community-website/pages/learn-git-and-github.tsx
@@ -277,8 +277,9 @@ const LearnGitAndGitHub: NextPage = () => {
2. Configure Git
- git config --global user.name "Your Name"
- git config --global user.email "your.email@example.com"
+ git config --global user.name "Your Name"
+ git config --global user.email "your.email@example.com"{" "}
+
git config --global init.defaultBranch main
3. Verify Installation
@@ -299,9 +300,9 @@ const LearnGitAndGitHub: NextPage = () => {
2. Set up SSH Key (Recommended)
# Generate SSH key
- ssh-keygen -t ed25519 -C "your.email@example.com"
+ ssh-keygen -t ed25519 -C "your.email@example.com"
# Add SSH key to ssh-agent
- eval "$(ssh-agent -s)"
+ eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
# Copy public key to GitHub
cat ~/.ssh/id_ed25519.pub
@@ -331,7 +332,7 @@ const LearnGitAndGitHub: NextPage = () => {
git add .
Stage all changes
- git commit -m "message"
+ git commit -m "message"
Commit staged changes
git log
@@ -425,9 +426,9 @@ const LearnGitAndGitHub: NextPage = () => {
# Example workflow
- echo "Hello World" {">"} hello.txt
+ echo "Hello World" {">"} hello.txt
git add hello.txt
- git commit -m "Add hello file"
+ git commit -m "Add hello file"
git push origin main
{renderButtonsComponent()}
@@ -545,7 +546,7 @@ const LearnGitAndGitHub: NextPage = () => {
{/* Slide 15 */}
Summary
-
What We've Covered:
+
What We've Covered:
-
Version Control Systems: CVS vs DVS concepts