Added note in Point 11

pull/543/head
Shubham Rauthan 4 years ago
parent 707cc461f2
commit b65ee225c6

@ -134,6 +134,8 @@ Let's say you have a folder locally with some code project and you want to start
This creates a _remote_, or connection, named "origin" pointing at the GitHub repository you created earlier. This creates a _remote_, or connection, named "origin" pointing at the GitHub repository you created earlier.
1. **Send local files to GitHub**. So far you've created a _connection_ between the local repo and the GitHub repo. Let's send these files to GitHub with the following command `git push`, like so: 1. **Send local files to GitHub**. So far you've created a _connection_ between the local repo and the GitHub repo. Let's send these files to GitHub with the following command `git push`, like so:
> Note, replace ```main``` with the branch name you want to push to GitHub.
```bash ```bash
git push -u origin main git push -u origin main
@ -141,7 +143,7 @@ Let's say you have a folder locally with some code project and you want to start
This sends your commits in your "main" branch to GitHub. This sends your commits in your "main" branch to GitHub.
1. **To add more changes**. If you want to continue making changes and pushing them to GitHub youll just need to use the following three commands: 2. **To add more changes**. If you want to continue making changes and pushing them to GitHub youll just need to use the following three commands:
```bash ```bash
git add . git add .

Loading…
Cancel
Save