Skip to content
Snippets Groups Projects
Commit e13d660a authored by Mactavish's avatar Mactavish
Browse files

update

parent fbace247
No related branches found
No related tags found
No related merge requests found
......@@ -393,6 +393,23 @@ git merge --abort
This won't help you resolve the conflicts but it will rollback to the state before invoking `git merge`.
### Git Workflow
There is a variety of of branching strategies and workflows. A well structured workflow promotes organization, efficiency and code quality.
Here we will focus on the **Feature Branch Workflow** which is simple to learn and to use.
In short, developers create separate branches for each feature or bugfix, keeping the ‘main’ branch stable.
When a feature is complete, the developer submits a `pull request` or `merge request` to integrate the changes back into the main branch after a code review.
#### Pull/Merge Request
`Pull request` or `merge request` is usually provided by the collaborating platform such as GitLab and GitHub. A pull request notifies other development team members of changes made in your local repository.
Here is a simple workflow with pull request that you and your team can follow:
![](./images/pull-request.png)
## Common Misconceptions
### Github/Gitlab/etc. != Git
......
images/pull-request.png

55.5 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment