-
Notifications
You must be signed in to change notification settings - Fork 60.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed typo for new git url. #36039
Fixed typo for new git url. #36039
Conversation
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
👓 Previews for changed contentThis comment is 🤖 automatically generated and will be overwritten every time changes are committed to this branch. The table contains an overview of files in the Content directory changesYou may find it useful to copy this table into the pull request summary. There you can edit it to share links to important articles or changes and to give a high-level overview of how the changes in your pull request support the overall goals of the pull request.
Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server |
@@ -71,7 +71,7 @@ If you create a new clone of the repository, you won't lose any of your Git hist | |||
1. Add a new remote name with the URL you copied for your repository. For example, `origin` or `upstream` are two common choices. | |||
|
|||
```shell | |||
git remote add origin https://{% data variables.product.product_url %}/USERNAME/REPOSITORY-NAME.git | |||
git remote add origin https://{% data variables.product.product_url %}/USERNAME/NEW-REPOSITORY-NAME.git |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank You 😘👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -71,7 +71,7 @@ If you create a new clone of the repository, you won't lose any of your Git hist | |||
1. Add a new remote name with the URL you copied for your repository. For example, `origin` or `upstream` are two common choices. | |||
|
|||
```shell | |||
git remote add origin https://{% data variables.product.product_url %}/USERNAME/REPOSITORY-NAME.git | |||
git remote add origin https://{% data variables.product.product_url %}/USERNAME/NEW-REPOSITORY-NAME.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
content/get-started/using-git/splitting-a-subfolder-out-into-a-new-repository.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you I will figure out
Hi, I'm not sure this change is necessarily appropriate, but thank you for your interest in the docs Please feel free to take a look at our issues marked |
In case the context was lost in the noise, this is the current state of the doc. It is confusing because it's misleading right now. If I didn't know git, I might be thrown off by why the "verify the remote" step shows a different url than the preceding "set the remote" step. https://docs.github.com/en/get-started/using-git/splitting-a-subfolder-out-into-a-new-repository I don't particularly have much stake in this game, nor do I know the contribution flow, but I would humbly suggest some improvement be made to this one line. Anyhow, thanks for all you do! |
Sorry, there was too much issue boilerplate for such a small fix, so I didn't read any of it. Thanks for understanding -- pls close if you can't merge 🙏