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
968af0e4
Commit
968af0e4
authored
Oct 07, 2020
by
TaliaNovich
Committed by
Marcia Ramos
Oct 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes to: add file
parent
d9bc1416
Changes
1
Hide 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 @
968af0e4
...
...
@@ -29,16 +29,16 @@ to the desired destination:
cd
<destination folder>
```
[
Create a branch
](
create-branch.md
)
to add your file to, before it
i
s added to the master
(main) branch of the project. It
i
s not strictly necessary, but working directly in
the
`master`
branch is not recommended unless your project is very small, and you
a
re
[
Create a branch
](
create-branch.md
)
to add your file to, before it
'
s added to the master
(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
'
re
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
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):
```
shell
...
...
@@ -79,7 +79,7 @@ Now you can push (send) your changes (in the branch `<branch-name>`) to GitLab
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
...
...
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