- Go to (github)[github.com] and create an account if you haven't already
- Create a new repository to for your app
- Click the green "New repository" button on the GitHub homepage once you've signed in
- Give your repository a name
- From the repositories page on GitHub copy the SSH Clone URL to your clipboard
- In your project directory in the terminal type:
git remote add github <<clone url>>
- Now, you can push your code to github:
git push github
Push your code to GitHub
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment