Why & When to Sync
The br sync
command is crucial for keeping your local work up-to-date with the latest changes from your team. It intelligently fetches new updates from your parent branch (like main
or prod
) and integrates them into your current working branch.
You should sync frequently to:
- Prevent large merge conflicts
- Stay current
- Ensure smooth integration
Good times to run br sync
:
- Before you start coding for the day
- After a teammate has merged a significant change
- Right before you
br submit
your work for review
Usage
br sync
What's Next?
Continue your development workflow: