Create a gist now

Instantly share code, notes, and snippets.

Embed
add repo to github
mnelson:myproject mnelson$ git remote add origin https://github.com/cubeton/mynewrepository.git
mnelson:myproject mnelson$ git push -u origin master
Counting objects: 3, done.
Writing objects: 100% (3/3), 263 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To https://github.com/cubeton/mynewrepository.git
 * [new branch]      master -> master
Branch master set up to track remote branch master from origin.
@Savages80

This comment has been minimized.

Show comment
Hide comment
@Savages80

Savages80 Nov 22, 2017

.

.

@francisbarton

This comment has been minimized.

Show comment
Hide comment
@francisbarton

francisbarton Apr 6, 2018

Hi, I came here from https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners
I feel like you've done that classic thing here that always happens with tech tutorials. Steps 1-5 are really clear and everything makes sense: the description of what is happening matches up exactly with the code examples and it's all super-simple. Then we get to this step, step 6, and suddenly we've got a "git remote add origin" command that is not described in the text and it's not clear where this command comes from or what 'origin' means. Followed by "git push -u origin master" which is also not really explained.
It suddenly goes up a gear and this is how people like me get left behind with tutorials and end up feeling despondent.

Hi, I came here from https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners
I feel like you've done that classic thing here that always happens with tech tutorials. Steps 1-5 are really clear and everything makes sense: the description of what is happening matches up exactly with the code examples and it's all super-simple. Then we get to this step, step 6, and suddenly we've got a "git remote add origin" command that is not described in the text and it's not clear where this command comes from or what 'origin' means. Followed by "git push -u origin master" which is also not really explained.
It suddenly goes up a gear and this is how people like me get left behind with tutorials and end up feeling despondent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment