Prior to starting task 1, I chose to first clone (using SSH) the demo-1 repository in my desired location. valentinojaber➜~/Documents/CPEN212» git clone git@github.com:UBC-CPEN212-2022W2/demo-1-valentino-jaber.git Cloning into 'demo-1-valentino-jaber'... remote: Enumerating objects: 3, done. remote: Counting objects: 100% (3/3), done. remote: Compressing objects: 100% (2/2), done. remote: Total 3 (delta 0), reused 2 (delta 0), pack-reused 0 Receiving objects: 100% (3/3), 5.18 KiB | 1.73 MiB/s, done. ---------------------------------------------------------------------------------- valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5✗)» mkdir task5 valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5✗)» touch task5/colo ur.txt valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5✗)» ls [1:05:00] README.rst task2-shell task4-editing task5-git-notes task1-ssh task3-searching task5 valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5✗)» nano task5/colour.txt valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5✗)» cat task5/colour.txt turquoise valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5✗)» git add --all valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5✗)» git commit -m "File with fav colour and demo notes" [demotask5 57dc63f] File with fav colour and demo notes 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 task5-git-notes/task5.txt create mode 100644 task5/colour.txt valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5)» git push ---------------------------------------------------------------------------------- valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5)» rm task5/colour.txt valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5✗)» git add --all valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5✗)» git commit -m "Deleted colour.txt" [demotask5 3f663c0] Deleted colour.txt 1 file changed, 1 deletion(-) delete mode 100644 task5/colour.txt valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5)» git push ---------------------------------------------------------------------------------- valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5✗)» git log commit 3f663c01d41aa186707ba4e848859e10a863e266 Author: Valentino Jaber Date: Fri Jan 13 01:11:27 2023 -0800 Deleted colour.txt valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5✗)» git revert 3f663c01d41aa186707ba4e848859e10a863e266 hint: Waiting for your editor to close the file... valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5✗)» git add --all valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5✗)» git commit -m "R everted deleted colour.txt" [demotask5 8a57e23] Reverted deleted colour.txt 1 file changed, 1 insertion(+) create mode 100644 task5/colour.txt valentinojaber➜Documents/CPEN212/demo-1-valentino-jaber(demotask5)» git push ----------------------------------------------------------------------------------