Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Initialize and setup a git repo for a project created with create-react-app
cd youtube-react
git init
# connect your local repo to the repo on Github
git remote add origin<YOUR_REPO_NAME>.git
# add all files that create-react-app has created to the repository
git add -A
git commit -m "initial commit"
git push -u origin master

This comment has been minimized.

Copy link
Owner Author

productioncoder commented Nov 3, 2019

This snippet is used as part of the Build Youtube in React epic length tutorial series:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.