mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-06-16 05:13:54 -07:00
Update content/getting-started/first-repository.md
This commit is contained in:
parent
a37cadc558
commit
0304344119
1 changed files with 3 additions and 5 deletions
|
|
@ -59,7 +59,7 @@ Here's an explanation of the form's fields:
|
|||
|
||||
{% admonition "warning" %}
|
||||
|
||||
If you have code locally you wish to add - do **NOT** allow Codeberg to add any files to the repository.
|
||||
DO NOT allow Codeberg to add any files to the repository, if you have code locally you wish to add.
|
||||
To prevent this, ensure the option
|
||||
|
||||
⬜ Initialize repository (Adds .gitignore, LICENSE and README)
|
||||
|
|
@ -74,9 +74,7 @@ Instead, see Option B below.
|
|||
It's okay to only specify owner and repository name, if you want to get started quickly.
|
||||
After filling out the fields, click the green "Create Repository" button on the bottom of the page.
|
||||
|
||||
You should now see a screen similar to the one below.
|
||||
If you haven't chosen to generate `LICENSE`, `README` and `.gitignore`
|
||||
the screen might show instructions instead, which will vanish after [your first commit](#making-a-commit).
|
||||
You should now see a screen similar to the one below, **if** you have chosen to generate `LICENSE`, `README` and `.gitignore`. **Otherwise**, the screen might show instructions instead, which will vanish after [your first commit](#making-a-commit).
|
||||
|
||||
<img src="/images/getting-started/first-repository/create-repo-3.png" alt="Repository Main View">
|
||||
|
||||
|
|
@ -217,7 +215,7 @@ knut@iceberg:~/my-project$ git remote add origin https://codeberg.org/knut/fooba
|
|||
|
||||
{% admonition "info" %}
|
||||
|
||||
When you clone a repository from the Internet, the URL that you cloned from, will be used automatically for the `origin` remote.
|
||||
When you clone a repository, the URL you specify is automatically used to set the remote `origin`. (`git remote get-url --all origin`)
|
||||
|
||||
{% endadmonition %}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue