Section: Sync with dev

Sync feature with dev (merge)

bash
bash
git fetch origin\ngit switch feature/my-work\ngit merge origin/dev
Explanation

Prefer merge for a quick sync; use rebase if your team prefers a linear history.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Sync with dev