Skip to content

Commit b5ff3a9

Browse files
committed
Bug fix again to fix build issues
1 parent 99f9f65 commit b5ff3a9

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

community-website/pages/learn-git-and-github.tsx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,9 @@ const LearnGitAndGitHub: NextPage = () => {
277277
</div>
278278
<h3>2. Configure Git</h3>
279279
<div className={specificStyles.codeBlock}>
280-
git config --global user.name "Your Name" <br />
281-
git config --global user.email "your.email@example.com" <br />
280+
git config --global user.name &quot;Your Name&quot; <br />
281+
git config --global user.email &quot;your.email@example.com&quot;{" "}
282+
<br />
282283
git config --global init.defaultBranch main
283284
</div>
284285
<h3>3. Verify Installation</h3>
@@ -299,9 +300,9 @@ const LearnGitAndGitHub: NextPage = () => {
299300
<h3>2. Set up SSH Key (Recommended)</h3>
300301
<div className={specificStyles.codeBlock}>
301302
# Generate SSH key <br />
302-
ssh-keygen -t ed25519 -C "your.email@example.com" <br />
303+
ssh-keygen -t ed25519 -C &quot;your.email@example.com&quot; <br />
303304
# Add SSH key to ssh-agent <br />
304-
eval "$(ssh-agent -s)" <br />
305+
eval &quot;$(ssh-agent -s)&quot; <br />
305306
ssh-add ~/.ssh/id_ed25519 <br />
306307
# Copy public key to GitHub <br />
307308
cat ~/.ssh/id_ed25519.pub
@@ -331,7 +332,7 @@ const LearnGitAndGitHub: NextPage = () => {
331332
<div className={specificStyles.command}>git add .</div>
332333
<div>Stage all changes</div>
333334
<div className={specificStyles.command}>
334-
git commit -m "message"
335+
git commit -m &quot;message&quot;
335336
</div>
336337
<div>Commit staged changes</div>
337338
<div className={specificStyles.command}>git log</div>
@@ -425,9 +426,9 @@ const LearnGitAndGitHub: NextPage = () => {
425426
</div>
426427
<div className={specificStyles.codeBlock}>
427428
# Example workflow <br />
428-
echo "Hello World" {">"} hello.txt <br />
429+
echo &quot;Hello World&quot; {">"} hello.txt <br />
429430
git add hello.txt <br />
430-
git commit -m "Add hello file" <br />
431+
git commit -m &quot;Add hello file&quot; <br />
431432
git push origin main
432433
</div>
433434
{renderButtonsComponent()}
@@ -545,7 +546,7 @@ const LearnGitAndGitHub: NextPage = () => {
545546
{/* Slide 15 */}
546547
<div className={specificStyles.slide}>
547548
<h2>Summary</h2>
548-
<h3>What We've Covered:</h3>
549+
<h3>What We&apos;ve Covered:</h3>
549550
<ul>
550551
<li>
551552
<strong>Version Control Systems:</strong> CVS vs DVS concepts

0 commit comments

Comments
 (0)