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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
0bc03f9c
Commit
0bc03f9c
authored
Oct 07, 2020
by
Marcia Ramos
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'TaliaNovich-edits' into 'master'
Changes to: add file See merge request gitlab-org/gitlab!44141
parents
0725f98a
968af0e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
doc/gitlab-basics/add-file.md
doc/gitlab-basics/add-file.md
+6
-6
No files found.
doc/gitlab-basics/add-file.md
View file @
0bc03f9c
...
@@ -29,16 +29,16 @@ to the desired destination:
...
@@ -29,16 +29,16 @@ to the desired destination:
cd
<destination folder>
cd
<destination folder>
```
```
[
Create a branch
](
create-branch.md
)
to add your file to, before it
i
s added to the master
[
Create a branch
](
create-branch.md
)
to add your file to, before it
'
s added to the master
(main) branch of the project. It
i
s not strictly necessary, but working directly in
(main) branch of the project. It
'
s not strictly necessary, but working directly in
the
`master`
branch is not recommended unless your project is very small, and you
a
re
the
`master`
branch is not recommended unless your project is very small, and you
'
re
the only person working on it. You can
[
switch to an existing branch
](
start-using-git.md#work-on-an-existing-branch
)
,
the only person working on it. You can
[
switch to an existing branch
](
start-using-git.md#work-on-an-existing-branch
)
,
if you
ha
ve one already.
if you
'
ve one already.
Using your standard tool for copying files (for example, Finder in macOS, or File Explorer
Using your standard tool for copying files (for example, Finder in macOS, or File Explorer
in Windows), put the file into a directory within the GitLab project.
in Windows), put the file into a directory within the GitLab project.
Check if your file is actually present in the directory (if you
a
re in Windows,
Check if your file is actually present in the directory (if you
'
re in Windows,
use
`dir`
instead):
use
`dir`
instead):
```
shell
```
shell
...
@@ -79,7 +79,7 @@ Now you can push (send) your changes (in the branch `<branch-name>`) to GitLab
...
@@ -79,7 +79,7 @@ Now you can push (send) your changes (in the branch `<branch-name>`) to GitLab
git push origin <branch-name>
git push origin <branch-name>
```
```
Your image
will be added to your branch in your repository in GitLab.
Your image
is added to your branch in your repository in GitLab.
<!-- ## Troubleshooting
<!-- ## Troubleshooting
...
...
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