mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Fix Jaxom99 observation
This commit is contained in:
parent
bbb75b6182
commit
3e48726f0f
1 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ To be able to send your contributions via GitHub, you need to have an account on
|
|||
You don't have to give your first and last names, you can use a nickname (when you register `Username`).
|
||||
|
||||
## Fork the YunoHost documentation in your personal repository
|
||||
To fork the source code allows you to create a new branch of development of a software source code or in this case the source code of the documentation. By creating a new branch, this allows you to modify the code and add your contributions without altering the code of the `master' branch, which is the public release of the documentation. This allows you not to have to write down everything at once, but to do it in several steps. (Especially for contributions that require more time).
|
||||
To fork the source code allows you to create a new branch of development of a software source code or in this case the source code of the documentation. By creating a new branch, this allows you to modify the code and add your contributions without altering the code of the `master` branch, which is the public release of the documentation. This allows you not to have to write down everything at once, but to do it in several steps. (Especially for contributions that require more time).
|
||||
|
||||
Forking a project on GitHub is extremely simple, just click on the Fork button, this will create a new repository on your GitHub account.
|
||||
![Screenshot GitHub fork button screenshot](/images/dug_fork.png)
|
||||
|
@ -19,11 +19,11 @@ In the title of the new repository, you will see where the repository comes from
|
|||
> It is not possible to have a fork from a contributor's repository and the original repository fork at the same time in your own account.
|
||||
|
||||
## Modify and add your contribution
|
||||
Once the repository is forked (copied), you will need to create a new development branch within your repository. It is through this branch that you will modify the files and thus propose improvements to the documentation. The fact that it is a new branch will allow you to make a Pull Request, i.e. a request to add your contributions to the `master' branch, which is the main documentation branch. The development rules on GitHub change depending on the developers of each repository, some have a testing branch in which to offer contributions.
|
||||
Once the repository is forked (copied), you will need to create a new development branch within your repository. It is through this branch that you will modify the files and thus propose improvements to the documentation. The fact that it is a new branch will allow you to make a Pull Request, i.e. a request to add your contributions to the `master` branch, which is the main documentation branch. The development rules on GitHub change depending on the developers of each repository, some have a testing branch in which to offer contributions.
|
||||
More information on what a branch on git-scm.com is: [Branching with Git - What a branch is](https://git-scm.com/book/fr/v1/Les-branches-avec-Git-Ce-qu-est-une-branche).
|
||||
|
||||
## Send your contribution by a Pull Request
|
||||
Create a Pull Request when you want to share your work with the other contributors and integrate it into the master repository (Yunohost's main repository). When publishing a Pull Request, commonly called PR, contributors will be able to amend, comment, add, correct your contribution before it is fully integrated into the repository.
|
||||
Create a Pull Request when you want to share your work with the other contributors and integrate it into the master repository (YunoHost's main repository). When publishing a Pull Request, commonly called PR, contributors will be able to amend, comment, add, correct your contribution before it is fully integrated into the repository.
|
||||
|
||||
## Track your contribution and take into account feedback from contributors
|
||||
When you've already create a Pull Request (PR), changes to your development branch in the Git repository will automatically be added to the PR. This doesn't require any additional action. You can also include proposed changes from contributors, who, when they audit the code, may find errors or new, better wording.
|
||||
|
@ -33,7 +33,7 @@ YunoHost has a specific Git repository to collect issues: [github.com/YunoHost/i
|
|||
An issue, also called a ticket, is an identified problem or a development wish; in this case for documentation, but it is valid for any software repository. Within the framework of the YunoHost documentation it will be mainly proposed issues for the development of the documentation, the identified problems being easily correctable.
|
||||
|
||||
## Going further with Git and working on his workstation
|
||||
Using the power of Git to work on your personal computer means you don't have to create a `commit' each time you save modified documentation pages. It also allows you to use tools and software that make it easier to distinguish between tags used in a documentation page.
|
||||
Using the power of Git to work on your personal computer means you don't have to create a `commit` each time you save modified documentation pages. It also allows you to use tools and software that make it easier to distinguish between tags used in a documentation page.
|
||||
|
||||
- Online resource: [docs.microsoft.com - Setting up a Git repository locally for documentation](https://docs.microsoft.com/fr-fr/contribute/get-started-setup-local)
|
||||
|
||||
|
|
Loading…
Reference in a new issue