Skip to content

Commit 3aa7ccb

Browse files
authored
Merge pull request #2436 from ironhack-labs/uros/feat/add-faqs-section
minor style updates
2 parents b8d9afc + 2ee2dd5 commit 3aa7ccb

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -290,23 +290,22 @@ __Happy coding!__ :heart:
290290
<summary>I am unable to push changes to the repository. What should I do?</summary>
291291
<br>
292292
293-
There are a couple of possible reasons why you may be unable to *push* changes to a Git repository:
293+
There are a couple of possible reasons why you may be unable to *push* changes to a Git repository:
294294
295-
1. **You have not committed your changes:** Before you can push your changes to the repository, you need to commit them using the `git commit` command. Make sure you have committed your changes and try pushing again. To do this, run the following terminal commands from the project folder:
295+
1. **You have not committed your changes:** Before you can push your changes to the repository, you need to commit them using the `git commit` command. Make sure you have committed your changes and try pushing again. To do this, run the following terminal commands from the project folder:
296296
```bash
297297
git add .
298298
git commit -m "Your commit message"
299299
git push
300300
```
301+
2. **You do not have permission to push to the repository:** If you have cloned the repository directly from the main Ironhack repository without making a *Fork* first, you do not have write access to the repository.
302+
To check which remote repository you have cloned, run the following terminal command from the project folder:
303+
```bash
304+
git remote -v
305+
```
306+
If the link shown is the same as the main Ironhack repository, you will need to fork the repository to your GitHub account first, and then clone your fork to your local machine to be able to push the changes.
301307
302-
2. **You do not have permission to push to the repository:** If you have cloned the repository directly from the main Ironhack repository without making a *Fork* first, you do not have write access to the repository.
303-
To check which remote repository you have cloned, run the following terminal command from the project folder:
304-
```bash
305-
git remote -v
306-
```
307-
If the link shown is the same as the main Ironhack repository, you will need to fork the repository to your GitHub account first, and then clone your fork to your local machine to be able to push the changes.
308-
309-
Note: You may want to make a copy of the code you have locally, to avoid losing it in the process.
308+
Note: You may want to make a copy of the code you have locally, to avoid losing it in the process.
310309
311310
[Back to top](#faqs)
312311

0 commit comments

Comments
 (0)