mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-20 14:11:11 +00:00
typo
This commit is contained in:
@ -11,50 +11,50 @@ like to add the image. There, paste the image.
|
|||||||
|
|
||||||
Go to your [shell](command-line-commands.md), and add the following commands:
|
Go to your [shell](command-line-commands.md), and add the following commands:
|
||||||
|
|
||||||
- To find the correct file, add this command for every file that you'd like to open until
|
To find the correct file, add this command for every file that you'd like to open until
|
||||||
you reach the file where you added your image:
|
you reach the file where you added your image:
|
||||||
```
|
```
|
||||||
cd NAME-OF-FILE-YOU'D-LIKE-TO-OPEN
|
cd NAME-OF-FILE-YOU'D-LIKE-TO-OPEN
|
||||||
```
|
```
|
||||||
|
|
||||||
- Create a new branch:
|
Create a new branch:
|
||||||
```
|
```
|
||||||
git checkout -b NAME-OF-BRANCH
|
git checkout -b NAME-OF-BRANCH
|
||||||
```
|
```
|
||||||
|
|
||||||
- Check if your image was correctly added to the file:
|
Check if your image was correctly added to the file:
|
||||||
```
|
```
|
||||||
ls
|
ls
|
||||||
```
|
```
|
||||||
|
|
||||||
You should see the name of the image in the list shown.
|
You should see the name of the image in the list shown.
|
||||||
|
|
||||||
- Go back one file:
|
Go back one file:
|
||||||
```
|
```
|
||||||
cd ../
|
cd ../
|
||||||
```
|
```
|
||||||
|
|
||||||
- Check the status and you should see your image’s name in red:
|
Check the status and you should see your image’s name in red:
|
||||||
```
|
```
|
||||||
git status
|
git status
|
||||||
```
|
```
|
||||||
|
|
||||||
- Add your changes:
|
Add your changes:
|
||||||
```
|
```
|
||||||
git add NAME-OF-YOUR-IMAGE
|
git add NAME-OF-YOUR-IMAGE
|
||||||
```
|
```
|
||||||
|
|
||||||
- Check the status and you should see your image’s name in green:
|
Check the status and you should see your image’s name in green:
|
||||||
```
|
```
|
||||||
git status
|
git status
|
||||||
```
|
```
|
||||||
|
|
||||||
- Add the commit:
|
Add the commit:
|
||||||
```
|
```
|
||||||
git commit -m “DESCRIBE COMMIT IN A FEW WORDS”
|
git commit -m “DESCRIBE COMMIT IN A FEW WORDS”
|
||||||
```
|
```
|
||||||
|
|
||||||
- Send your changes to GitLab.com:
|
Send your changes to GitLab.com:
|
||||||
```
|
```
|
||||||
git push origin NAME-OF-BRANCH
|
git push origin NAME-OF-BRANCH
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user