forlooptanzania / ride-my-way

Car pooling app (of developers) by developers for developers in Tanzania
22 stars 6 forks source link

What is the GitHub Flow? #7

Open veemish opened 5 years ago

veemish commented 5 years ago

Git Flow

so its the light weight , branch basedworkflow, that supports/help /guide/ teams and projects where deployments are regularly made. the flow starts with;

  1. Creating Branch

    Why create Branch?

    • Easy to make an environment where you can try out new ideas.
    • You can experiment and commit changes. -Changes do affect the master branch. One thing to always remember The MASTER BRANCH content is always ready to deploy. All experiments and changes should be done in the FEATURE BRANCH.
  2. Add Commit All the huge changes that are done after branch creation they get to be commits.

What do commits do? Its like keeping track of all your rough work when working on something till you get the results u want . This helps you to understand all the things you did to achieve your results .

Commit Awesomeness:

Each Commit has a message , the commit message describes why changes took place.

  1. Open Pull request Coolest thing about PR

you can get direct feedback from a specific person or a team by simply using the GIT HUB's @mention system in your PR message.

  1. Discuss and review Code So here your PR is being reviewed and discuss. you may receive questions about certain actions or comments .

  2. Deploy This step its for final testing in production before merging to master branch.

  3. Merge

veemish commented 5 years ago

Helpful links:

BenMaruchu commented 5 years ago

For those who would like to dig more on git flow workflow you can read this