Skip to content

Commit

Permalink
Update remote-github.md
Browse files Browse the repository at this point in the history
  • Loading branch information
john0isaac authored Sep 17, 2023
1 parent 98f5185 commit abde4d5
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions full/intro-git-github-version-control/remote-github.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ While working locally may seem enough for some people sometimes we need to colla

3. Inside Git Bash, execute the following command replacing the URL with the URL you copied earlier

```bash
git clone https://github.com/YOUR-USERNAME/hello-world
```
```bash
git clone https://github.com/YOUR-USERNAME/hello-world
```

This command:
- takes the path to an existing repository
Expand All @@ -49,33 +49,33 @@ directory
1. Inside Git Bash, execute the following command to change the directory to the newly cloned repository's directory

```bash
cd hello-world
```
```bash
cd hello-world
```

2. Inside Git Bash, execute the following command to make some changes

```bash
echo "My first sentence on GitHub." > new-file.txt
```
```bash
echo "My first sentence on GitHub." > new-file.txt
```

3. Inside Git Bash, execute the following command to add the changes

```bash
git add .
```
```bash
git add .
```

4. Inside Git Bash, execute the following command to add the changes

```bash
git commit -m "Initial commit"
```
```bash
git commit -m "Initial commit"
```

5. Inside Git Bash, execute the following command to push the changes to GitHub

```bash
git push
```
```bash
git push
```


## Contributing on GitHub
Expand Down

0 comments on commit abde4d5

Please sign in to comment.