From 6baa582dae1dee9293598d19d251eb85593aeddf Mon Sep 17 00:00:00 2001 From: frrst-ian Date: Fri, 12 Sep 2025 10:01:49 +0800 Subject: [PATCH 1/2] Setting up Git: Update ChromeOS Git installation to use apt instead of DigitalOcean guide --- foundations/installations/setting_up_git.md | 53 ++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/foundations/installations/setting_up_git.md b/foundations/installations/setting_up_git.md index d908f79a403..c0d3ac4f1e0 100644 --- a/foundations/installations/setting_up_git.md +++ b/foundations/installations/setting_up_git.md @@ -114,7 +114,58 @@ If the version number is less than 2.28, follow the instructions again. If you a ChromeOS -Follow the instructions on [installing Git from Source](https://www.digitalocean.com/community/tutorials/how-to-install-git-on-debian-10#installing-git-from-source) from Digital Ocean. +
+ +#### Prerequisites for ChromeOS + +Before installing Git, you'll need to have the Linux Development Environment enabled on your Chromebook. If you haven't set this up yet, follow [Google's guide to turn on Linux on ChromeOS](https://support.google.com/chromebook/answer/9145439). + +
+ +#### Step 1.1: Update the system + +Run these commands in the terminal to update the Linux system: + +```bash +sudo apt update +sudo apt upgrade +``` + +
+ +#### A note on typing passwords in the terminal + + When using a command in the terminal that requires you to enter your password for authentication (such as sudo), you will notice that the characters aren't visible as you type them. While it might seem like the terminal isn't responding, don't worry! + + This is a security feature to protect confidential information, like how password fields on websites use asterisks or dots. By not displaying the characters you write, the terminal keeps your password secure. + + You can still enter your password as normal and press Enter to submit it. + +
+ +#### Step 1.2: Install Git + +Now you can install Git using the standard package manager: + +```bash +sudo apt install git +``` + +#### Step 1.3: Verify version + +Make sure your Git version is **at least** 2.28 by running this command: + +```bash +git --version +``` + +If the version number is less than 2.28, you may need to add the Git PPA for a more recent version: + +```bash +sudo add-apt-repository ppa:git-core/ppa +sudo apt update +sudo apt install git +``` From bb6caa4128b9ad55416b144f3fdbcc74c9bb0565 Mon Sep 17 00:00:00 2001 From: Ian Forrest <137055671+frrst-ian@users.noreply.github.com> Date: Sat, 13 Sep 2025 09:40:46 +0800 Subject: [PATCH 2/2] Remove indentation from lesson note paragraphs Co-authored-by: mao-sz <122839503+mao-sz@users.noreply.github.com> --- foundations/installations/setting_up_git.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/foundations/installations/setting_up_git.md b/foundations/installations/setting_up_git.md index c0d3ac4f1e0..8857e800cb6 100644 --- a/foundations/installations/setting_up_git.md +++ b/foundations/installations/setting_up_git.md @@ -135,11 +135,11 @@ sudo apt upgrade #### A note on typing passwords in the terminal - When using a command in the terminal that requires you to enter your password for authentication (such as sudo), you will notice that the characters aren't visible as you type them. While it might seem like the terminal isn't responding, don't worry! +When using a command in the terminal that requires you to enter your password for authentication (such as sudo), you will notice that the characters aren't visible as you type them. While it might seem like the terminal isn't responding, don't worry! - This is a security feature to protect confidential information, like how password fields on websites use asterisks or dots. By not displaying the characters you write, the terminal keeps your password secure. +This is a security feature to protect confidential information, like how password fields on websites use asterisks or dots. By not displaying the characters you write, the terminal keeps your password secure. - You can still enter your password as normal and press Enter to submit it. +You can still enter your password as normal and press Enter to submit it.