Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
docs(contributing): code from another PR removed, correct code added
Browse files Browse the repository at this point in the history
  • Loading branch information
thegm445 committed Oct 11, 2023
1 parent cd0db71 commit 3cc951e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- Commit messages **must** follow
[Conventional Commits specifications](https://www.conventionalcommits.org/en/v1.0.0/#specification).
- Branches **must** follow the
[Git Flow pattern](https://github.com/nvie/gitflow).
[GitLab Flow pattern](https://docs.gitlab.com/ee/topics/gitlab_flow.html).
- Versioning must follow the
[Semantic Versioning specifications](https://semver.org/).
- Every contribution **must** be accompanied by a test suite that tests the new
Expand All @@ -29,27 +29,27 @@ response was given then the issue will be closed.
## Starting

This guide assumes you have
[Git Flow](https://github.com/nvie/gitflow/wiki/Installation) installed on your
system. The `main` branch is **always** the production branch, and the
`develop` branch is **always** the development branch.
[GitLab Flow pattern](https://docs.gitlab.com/ee/topics/gitlab_flow.html)
installed on your system. The `main` branch is **always** the development
branch.

To create a feature/bugfix branch, use the command:

```sh
git flow feature start <feature-name>
git checkout -b <feature-name> main
# or
git flow bugfix start <bugfix-name>
git checkout -b <bugfix-name> main
```

Git Flow will automatically create and checkout the branch, make the changes in
your favorite code editor. When you're done with the changes, commit and use
the following command to publish the feature on GitHub:
Git will automatically create and checkout the branch, make the changes in your
favorite code editor. When you're done with the changes, commit and use the
following command to publish the feature on GitLab:

```sh
git flow feature publish <feature-name>
git push origin <feature-name>
# or
git flow bugfix publish <bugfix-name>
git push origin <bugfix-name>
```

The branch should automatically be published on GitHub. Wait a supervisor to
The branch should automatically be published on GitLab. Wait a supervisor to
review your code and merge or request changes if necessary.

0 comments on commit 3cc951e

Please sign in to comment.