8000 GitHub - teguru-labs/bootcamp-git-gitflow: Gitflow Workflow Bootcamp
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

teguru-labs/bootcamp-git-gitflow

Repository files navigation

Git Training

This repository is used for training purposes about Gitflow workflow.

Branch Environment URL
develop Staging https://develop.bootcamp-git-gitflow.pages.dev
main Production https://bootcamp-git-gitflow.pages.dev

Gitflow Workflow

  1. Start a New Feature: Create a new feature branch from develop.
git checkout -b feat/my-feature
  1. Work on the Feature: Make changes, commit them to the feature branch.
  2. Finish the Feature: Once the feature is complete, merge it back into develop.
git checkout develop
git merge --no-ff feature/my-feature

4. Start a Release: Create a release branch from develop.

git checkout -b release/1.0.0 develop
  1. Test and Finalize the Release: Perform final testing, bug fixing, and version bumping on the release branch (or develop branch).
  2. Finish the Release: Merge the release/develop branch into both main (and develop), and tag it with a version number.
git checkout main
git merge --no-ff release/1.0.0
git tag -a 1.0.0
git checkout develop
git merge --no-ff release/1.0.0
  1. Start a Hotfix (if necessary): Create a hotfix branch from main to address critical issues.
git checkout -b hotfix/1.0.1 main
  1. Finish the Hotfix: Merge the hotfix branch into both main and develop, and tag it with a new version number.
git checkout main
git merge --no-ff hotfix/1.0.1
git tag -a 1.0.1
git checkout develop
git merge --no-ff hotfix/1.0.1

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

About

Gitflow Workflow Bootcamp

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 13

0