Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
4f9d32ea
Commit
4f9d32ea
authored
Aug 02, 2015
by
karen Carias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo
parent
8e53bae7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
doc/gitlab-basics/add-image.md
doc/gitlab-basics/add-image.md
+9
-9
No files found.
doc/gitlab-basics/add-image.md
View file @
4f9d32ea
...
...
@@ -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:
-
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:
```
cd NAME-OF-FILE-YOU'D-LIKE-TO-OPEN
```
-
Create a new branch:
Create a new 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
```
You should see the name of the image in the list shown.
-
Go back one file:
Go back one file:
```
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
```
-
Add your changes:
Add your changes:
```
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
```
-
Add the commit:
Add the commit:
```
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
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment