update module3.ipynb
This commit is contained in:
parent
c02d7f449f
commit
65006397f8
@ -533,7 +533,20 @@
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# Study guide: Git Remotes"
|
||||
"# Study guide: Git Remotes\n",
|
||||
"\n",
|
||||
"You’ve learned about what a remote is, working with remotes, fetching new changes, and updating the local repository. Use this study guide as an easy reference of Git commands for working with remotes. This study guide gives a brief explanation of these useful commands along with a link to the Git documentation for each command. Keeping study guides like this one easily accessible can help you code more efficiently.\n",
|
||||
"\n",
|
||||
"| Command | Explanation & Links |\n",
|
||||
"| --- | --- |\n",
|
||||
"| git remote | [$ git remote<svg aria-labelledby=\"cds-react-aria3604314262-:r54k:-title\" fill=\"none\" focusable=\"false\" height=\"16\" role=\"img\" viewBox=\"0 0 20 20\" width=\"16\" class=\"css-8blerm\" id=\"cds-react-aria3604314262-:r54k:\"><title id=\"cds-react-aria3604314262-:r54k:-title\">Opens in a new tab</title></svg>](https://git-scm.com/docs/git-remote) allows you to manage the set of repositories or “remotes” whose branches you track. |\n",
|
||||
"| git remote -v | [$ git remote -v<svg aria-labelledby=\"cds-react-aria3604314262-:r54m:-title\" fill=\"none\" focusable=\"false\" height=\"16\" role=\"img\" viewBox=\"0 0 20 20\" width=\"16\" class=\"css-8blerm\" id=\"cds-react-aria3604314262-:r54m:\"><title id=\"cds-react-aria3604314262-:r54m:-title\">Opens in a new tab</title></svg>](https://git-scm.com/docs/git-remote#Documentation/git-remote.txt--v) is similar to $ git remote, but adding the -v shows more information such as the remote URL. |\n",
|
||||
"| git remote show <name> | [$ git remote show <name><svg aria-labelledby=\"cds-react-aria3604314262-:r54o:-title\" fill=\"none\" focusable=\"false\" height=\"16\" role=\"img\" viewBox=\"0 0 20 20\" width=\"16\" class=\"css-8blerm\" id=\"cds-react-aria3604314262-:r54o:\"><title id=\"cds-react-aria3604314262-:r54o:-title\">Opens in a new tab</title></svg>](https://git-scm.com/docs/git-remote#Documentation/git-remote.txt-emshowem) shows some information about a single remote repo. |\n",
|
||||
"| git remote update | [$ git remote update<svg aria-labelledby=\"cds-react-aria3604314262-:r54q:-title\" fill=\"none\" focusable=\"false\" height=\"16\" role=\"img\" viewBox=\"0 0 20 20\" width=\"16\" class=\"css-8blerm\" id=\"cds-react-aria3604314262-:r54q:\"><title id=\"cds-react-aria3604314262-:r54q:-title\">Opens in a new tab</title></svg>](https://git-scm.com/docs/git-remote#Documentation/git-remote.txt-emupdateem) fetches updates for remotes or remote groups. |\n",
|
||||
"| git fetch | [$ git fetch<svg aria-labelledby=\"cds-react-aria3604314262-:r54s:-title\" fill=\"none\" focusable=\"false\" height=\"16\" role=\"img\" viewBox=\"0 0 20 20\" width=\"16\" class=\"css-8blerm\" id=\"cds-react-aria3604314262-:r54s:\"><title id=\"cds-react-aria3604314262-:r54s:-title\">Opens in a new tab</title></svg>](https://git-scm.com/docs/git-fetch) can download objects and refs from a single repo, a single URL, or from several repositories at once. |\n",
|
||||
"| git branch -r | [$ git branch -r<svg aria-labelledby=\"cds-react-aria3604314262-:r54u:-title\" fill=\"none\" focusable=\"false\" height=\"16\" role=\"img\" viewBox=\"0 0 20 20\" width=\"16\" class=\"css-8blerm\" id=\"cds-react-aria3604314262-:r54u:\"><title id=\"cds-react-aria3604314262-:r54u:-title\">Opens in a new tab</title></svg>](https://git-scm.com/docs/git-branch#Documentation/git-branch.txt--r) lists remote branches and can be combined with other branch arguments to manage remote branches. |\n",
|
||||
"\n",
|
||||
"Keep this table handy while you are getting comfortable using Git remotes. Now, it’s time to put your newfound knowledge of Git remotes to use!"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user