Add a local project to GitHub
Jul 27, 2017 · 1 min read
- Create an empty repository on GitHub, you will get your_remote_repo_url.git
- Create a project on the local machine, for example an angular app
ng new my-app3. In the local repository, set the origin where the local repository will be pushed
cd my-app
git remote add origin your_remote_repo_url.git
4. Push the changes
git push -u origin master