update module3.ipynb

This commit is contained in:
Yavuz Sava 2025-03-07 14:44:04 +03:00
parent 3cd37a25ca
commit fa572d909b

View File

@ -162,7 +162,79 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Working with Remotes"
"# Working with Remotes\n",
"\n",
"This reading contains the code used in the instructional videos from [**Working with remotes**<svg aria-labelledby=\"cds-react-aria3604314262-:r454:-title\" fill=\"none\" focusable=\"false\" height=\"16\" role=\"img\" viewBox=\"0 0 20 20\" width=\"16\" class=\"css-8blerm\" id=\"cds-react-aria3604314262-:r454:\"><title id=\"cds-react-aria3604314262-:r454:-title\">Opens in a new tab</title></svg>](https://www.coursera.org/learn/introduction-git-github/lecture/udUgl/working-with-remotes)\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 and can be used as a reference as you work through the course.\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",
"cd health\\-checks/\n",
"\n",
"git remote \\-v\n",
"```\n",
"\n",
"**Code output:** \n",
"\n",
"origin  https://github.com/redquinoa/health-checks.git (fetch)\n",
"\n",
"origin  https://github.com/redquinoa/health-checks.git (push)\n",
"\n",
"```bash\n",
"git remote show origin\n",
"```\n",
"\n",
"**Code output:** \n",
"\n",
"Username for 'https://github.com': redquinoa\n",
"\n",
"Password for 'https://redquinoa@github.com': \n",
"\n",
"\\* remote origin\n",
"\n",
"  Fetch URL: https://github.com/redquinoa/health-checks.git\n",
"\n",
"  Push  URL: https://github.com/redquinoa/health-checks.git\n",
"\n",
"  HEAD branch: master\n",
"\n",
"  Remote branch:\n",
"\n",
"    master tracked\n",
"\n",
"  Local branch configured for 'git pull':\n",
"\n",
"    master merges with remote master\n",
"\n",
"  Local ref configured for 'git push':\n",
"\n",
"    master pushes to master (up to date)\n",
"\n",
"```bash\n",
"git branch \\-r\n",
"```\n",
"\n",
"**Code output:**\n",
"\n",
"  origin/HEAD -> origin/master\n",
"\n",
"  origin/master\n",
"\n",
"```bash\n",
"git status\n",
"```\n",
"\n",
"**Code output:** \n",
"\n",
"On branch master\n",
"\n",
"Your branch is up to date with 'origin/master'.\n",
"\n",
"nothing to commit, working tree clean"
]
},
{