From 0d3a05354b80167e18408b1305c69477c7a9c11d Mon Sep 17 00:00:00 2001 From: Magdel Date: Mon, 1 Sep 2025 18:50:27 +0000 Subject: [PATCH] Update GIT_ASSIGNMENT.md --- GIT_ASSIGNMENT.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/GIT_ASSIGNMENT.md b/GIT_ASSIGNMENT.md index 621dc9d..8396b52 100644 --- a/GIT_ASSIGNMENT.md +++ b/GIT_ASSIGNMENT.md @@ -396,6 +396,67 @@ Assignment: Verify by listing files inside cloned-repo. +### My Work and Result +``` +Magdel@LAPTOP-NS5FVUS9 MINGW64 ~ (master) +$ git clone https://git.comorin.co/Git-Training-Hub/git-practice-Mag.git cloned-repo +Cloning into 'cloned-repo'... +remote: Enumerating objects: 12, done. +remote: Counting objects: 100% (12/12), done. +remote: Compressing objects: 100% (11/11), done. +remote: Total 12 (delta 2), reused 0 (delta 0), pack-reused 0 (from 0) +Receiving objects: 100% (12/12), 206.16 KiB | 10.31 MiB/s, done. +Resolving deltas: 100% (2/2), done. +``` + +### My work +``` +cd cloned-repo +ls +``` + +#### Result +``` +Magdel@LAPTOP-NS5FVUS9 MINGW64 ~ (master) +$ cd cloned-repo + +Magdel@LAPTOP-NS5FVUS9 MINGW64 ~/cloned-repo (main) +$ ls + GIT_ASSIGNMENT.md 'repository .jpg' + ``` + + +# 9. Adding & Managing Remotes + +Assignment: + + In your original git-practice-<> repo, add a remote: + + git remote add origin + git remote -v + +Verify the remote shows correctly. + +### My work + +``` +git remote add origin https://git.comorin.co/Git-Training-Hub/git-practice-Mag.git +git remote -v +``` + +#### Result +``` +Magdel@LAPTOP-NS5FVUS9 MINGW64 ~/cloned-repo (main) +$ git remote -v +origin https://git.comorin.co/Git-Training-Hub/git-practice-Mag.git (fetch) +origin https://git.comorin.co/Git-Training-Hub/git-practice-Mag.git (push) + +``` + + + + +