Home / Companies / Aviator / Documentation / Page Details

Default Branch Update Master to Main | Aviator Documentation

Documentation page from Aviator

Page Details
Company
Word Count
179
Language
English
Contains Code
Unknown
Date Parsed
2025-12-11
Version History 1 version
2025-07-07 Current 2025-07-07 (latest)
Text

If you choose to switch over the default branch, for instance from master to main, a few steps must be taken to update Stacked PRs CLI to handle this change: 1. Ensure that local remote HEAD is updated You can do this with

git remote set-head origin --auto

. You can read the git man page for more details: https://git-scm.com/docs/git-remote#Documentation/git-remote.txt-emset-headem 2. Modify .git/av/av.db file to replace the parent In your repository

.git

directory has a file named

.git/av/av.db

. This file is a JSON document. If you open that, you can see sections like this: This file is used by the

av

CLI to track each branch's parent. You can change

master

to

main

or whatever default branch name change you are making for all existing branches. If you are unsure, please take a backup. With these two steps, av should recognize main as master, including existing branches. Previous Working with Aviator CLI Next Manpages for Stacked PRs CLI Last updated 1 year ago Was this helpful?

Analysis

No analysis available for this page.

Product Messaging

No product messaging analysis available for this page.

Competitive Analysis

No competitive analysis available for this page.