update module2.ipynb

This commit is contained in:
Yavuz Sava 2025-03-07 13:49:18 +03:00
parent 4ae82a400b
commit c35404342a

View File

@ -1168,6 +1168,119 @@
"\n",
"Even the most accomplished developers make mistakes in Git. It happens to everyone, so dont stress about it. You have these and other methods to help you revert or undo your mistakes."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Creating new branches\n",
"\n",
"This reading contains the code used in the instructional videos from [**Creating new branches**<svg aria-labelledby=\"cds-react-aria3604314262-:ret:-title\" fill=\"none\" focusable=\"false\" height=\"16\" role=\"img\" viewBox=\"0 0 20 20\" width=\"16\" class=\"css-8blerm\" id=\"cds-react-aria3604314262-:ret:\"><title id=\"cds-react-aria3604314262-:ret:-title\">Opens in a new tab</title></svg>](https://www.coursera.org/learn/introduction-git-github/lecture/FAmM2/creating-new-branches)\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 checks/\n",
"\n",
"git branch\n",
"```\n",
"\n",
"**Code output:**\n",
"\n",
"\\* master\n",
"\n",
"```bash\n",
"git branch new\\-feature\n",
"\n",
"git branch\n",
"```\n",
"\n",
"**Code output:**\n",
"\n",
"\\* master\n",
"\n",
"  New-feature\n",
"\n",
"```bash\n",
"git checkout new\\-feature\n",
"```\n",
"\n",
"**Code output:**\n",
"\n",
"Switched to branch 'new-feature'\n",
"\n",
"```bash\n",
"git checkout \\-b even\\-better-feature\n",
"```\n",
"\n",
"**Code output:**\n",
"\n",
"Switched to a new branch 'even-better-feature'\n",
"\n",
"```bash\n",
"atom free\\_memory.py \n",
"```"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Working with branches\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Merging\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Merge conflicts\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Study guide: Git branches and merging\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Glossary terms from module 2\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Exemplar: Merging Branches in Git\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# \n",
"\n"
]
}
],
"metadata": {