From b8703bf5b28efe636ce2acf183ce5c6df758b34b Mon Sep 17 00:00:00 2001 From: Nanda128 Date: Tue, 23 Sep 2025 00:27:01 +0100 Subject: [PATCH] slides: enhance content layout and improve visual alignment --- slides/compsoc/2025-2025/intro_to_git.md | 76 +++++++++++------------- 1 file changed, 34 insertions(+), 42 deletions(-) diff --git a/slides/compsoc/2025-2025/intro_to_git.md b/slides/compsoc/2025-2025/intro_to_git.md index 7921cf6..eb3ec21 100644 --- a/slides/compsoc/2025-2025/intro_to_git.md +++ b/slides/compsoc/2025-2025/intro_to_git.md @@ -21,17 +21,20 @@ Git * Git is a tool made for (usually) us programmers to track the work we've done. + +Sold Separately ================================= + Programmer socks (not) included. ![image:width:100%](intro_to_git/compsocks.png) - Why Git ================================= + @@ -52,6 +55,7 @@ Why Git Code Storage ================================= + * This place is called a Repository. @@ -62,20 +66,20 @@ Code Storage * Why not use SVN? * The answer is simple. - No. ================================= + ![image:width:100%](intro_to_git/NAH.jpg) - WHY don't we use SVN ================================= + * An actual answer is that Git is Distributed, and SVN in centralized. @@ -87,166 +91,154 @@ WHY don't we use SVN * Back to git. * Let's start with the basics. - Live demonstration time ================================= + + * Please get your laptops out - How to download Git & Git LFS ================================= + + ## Download <> - + ![image:width:100%](intro_to_git/git_download_button.png) - + ![image:width:100%](intro_to_git/git_installer.png) - + ![image:width:100%](intro_to_git/git_installer_notepad_as_default_editor.png) - - + ![image:width:100%](intro_to_git/git_installer_rename_master_to_main.png) - + ![image:width:100%](intro_to_git/git_installer_checkout_unix.png) - + ![image:width:100%](intro_to_git/git_installer_default_rebase_pull.png) - - + - Don't do these types of commit messages ================================= + ![image:width:100%](intro_to_git/bad_message.png) - + ![image:width:100%](intro_to_git/forgejo_template_button.png) - ![image:width:100%](intro_to_git/forgejo_template_repo_creation.png) - + ![image:width:100%](intro_to_git/forgejo_repo_link.png) - + LFS Install ================================= - - -LFS Install -================================= + -````bash -git lfs install -```` - - +Same deal as before, just download and install. +It'll ask to be ran as Administrator, say yes. Setup SSH key (see Readme.md) ================================= - - ![image:width:100%](intro_to_git/forgejo_repo_settings.png) - + ![image:width:100%](intro_to_git/forgejo_secrets_location.png) - + ![image:width:100%](intro_to_git/forgejo_add_secret.png) - + ![image:width:100%](intro_to_git/forgejo_ssh_key_example.png) - + -````bash +```bash git init git remote add origin git pull origin git add git commit -m "" git push origin -```` +``` - + ``https://.users.skynet.ie/`` - TroubleShooting ================================= - - If you see this: ================================= + ![image:width:100%](intro_to_git/permission_denied_publickey.jpg) > Credit: Geeks for Geeks - Go here ================================= + -