Skip to content

Instantly share code, notes, and snippets.

Embed
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 git@github.com:<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
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.