update module3.ipynb

This commit is contained in:
Yavuz Sava 2025-03-07 14:34:44 +03:00
parent 264142601c
commit 2c51525e22

View File

@ -5,7 +5,118 @@
"metadata": {},
"source": [
"# Basic Interaction with GitHub\n",
"\n"
"\n",
"This reading contains the code used in the instructional videos from [**Basic interaction with GitHub**<svg aria-labelledby=\"cds-react-aria3604314262-:r3dn:-title\" fill=\"none\" focusable=\"false\" height=\"16\" role=\"img\" viewBox=\"0 0 20 20\" width=\"16\" class=\"css-8blerm\" id=\"cds-react-aria3604314262-:r3dn:\"><title id=\"cds-react-aria3604314262-:r3dn:-title\">Opens in a new tab</title></svg>](https://www.coursera.org/learn/introduction-git-github/lecture/4Fl6n/basic-interaction-with-github)**.** \n",
"\n",
"## Introduction\n",
"\n",
"This follow-along reading is organized to match the content in the video that follows. It contains the same code shown in the next video. These code blocks will provide you with the opportunity to see how the code is written, allow you to practice running it, and can be used as a reference to refer back to. \n",
"\n",
"You can follow along in the reading as the instructor discusses the code or review the code after watching the video.\n",
"\n",
"```bash\n",
"git clone https://github.com/redquinoa/health\\-checks.git\n",
"```\n",
"\n",
"**Code output:** \n",
"\n",
"Cloning into 'health-checks'...\n",
"\n",
"Username for 'https://github.com': redquinoa\n",
"\n",
"Password for 'https://redquinoa@github.com': \n",
"\n",
"remote: Enumerating objects: 3, done.\n",
"\n",
"remote: Counting objects: 100% (3/3), done.\n",
"\n",
"remote: Compressing objects: 100% (2/2), done.\n",
"\n",
"remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0\n",
"\n",
"Unpacking objects: 100% (3/3), done.\n",
"\n",
"```bash\n",
"cd health\\-checks/\n",
"\n",
"ls \\-l\n",
"```\n",
"\n",
"**Code output:** \n",
"\n",
"total 4\n",
"\n",
"\\-rw-rw-r-- 1 user user 62 Jan  6 14:06 README.md\n",
"\n",
"```bash\n",
"atom README.md\n",
"\n",
"# health-checks\n",
"\n",
"Scripts that check the health of my computers\n",
"\n",
"This repo will be populated with lots of fancy checks. \n",
"```\n",
"\n",
"```bash\n",
"git commit \\-a \\-m \"Add one more line to README.md\"\n",
"```\n",
"\n",
"**Code output:**\n",
"\n",
"\\[master 807cb50\\] Add one more line to README.md\n",
"\n",
" 1 file changed, 2 insertions(+)\n",
"\n",
"```bash\n",
"git push\n",
"```\n",
"\n",
"**Code output:** \n",
"\n",
"Username for 'https://github.com': redquinoa\n",
"\n",
"Password for 'https://redquinoa@github.com': \n",
"\n",
"Enumerating objects: 5, done.\n",
"\n",
"Counting objects: 100% (5/5), done.\n",
"\n",
"Delta compression using up to 4 threads\n",
"\n",
"Compressing objects: 100% (2/2), done.\n",
"\n",
"Writing objects: 100% (3/3), 347 bytes | 347.00 KiB/s, done.\n",
"\n",
"Total 3 (delta 0), reused 0 (delta 0)\n",
"\n",
"To https://github.com/redquinoa/health-checks.git\n",
"\n",
"   3d9f86c..807cb50  master -> master\n",
"\n",
"```bash\n",
"git config \\--global credential.helper cache\n",
"```\n",
"\n",
"```bash\n",
"git pull\n",
"```\n",
"\n",
"**Code output:** \n",
"\n",
"Username for 'https://github.com': redquinoa\n",
"\n",
"Password for 'https://redquinoa@github.com': \n",
"\n",
"Already up to date.\n",
"\n",
"```bash\n",
"git pull\n",
"```\n",
"\n",
"**Code output:** \n",
"\n",
"Already up to date."
]
},
{