Commit 8e7e6300 authored by Marcin Sedlak-Jakubowski's avatar Marcin Sedlak-Jakubowski

Merge branch 'docs-improve-add-file' into 'master'

Docs: copy edit "add new file" doc

See merge request gitlab-org/gitlab!44568
parents 1a1f0a3e 966f7428
...@@ -29,16 +29,17 @@ to the desired destination: ...@@ -29,16 +29,17 @@ to the desired destination:
cd <destination folder> cd <destination folder>
``` ```
[Create a branch](create-branch.md) to add your file to, before it's added to the master [Create a new branch](create-branch.md) to add your file into. Submitting changes directly
(main) branch of the project. It's not strictly necessary, but working directly in to the default branch should be avoided unless your project is very small and you're the
the `master` branch is not recommended unless your project is very small, and you're only person working on it.
the only person working on it. You can [switch to an existing branch](start-using-git.md#work-on-an-existing-branch),
if you've one already. You can also [switch to an existing branch](start-using-git.md#work-on-an-existing-branch)
if you have 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. on Windows), put the file into a directory within the GitLab project.
Check if your file is actually present in the directory (if you're in Windows, Check if your file is actually present in the directory (if you're on Windows,
use `dir` instead): use `dir` instead):
```shell ```shell
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment