Put in order · Next.js course · Module 1: Next.js Configuration

Git Flow for a New Feature

Arrange the order of working with a feature in the Gitflow workflow

Items to put in order

  • git checkout develop
  • git commit -m "feat: ..."
  • git merge feature/nav
  • git checkout -b feature/nav
Show the answer

Correct order:

  1. git checkout -b feature/nav
  2. git commit -m "feat: ..."
  3. git checkout develop
  4. git merge feature/nav