How to Adopt a Branch in CLI
Documentation on adopting a branch with av CLI from Aviator with the command av branch.
Create a repository
$ git clone https://github.com/octocat/hello-world
Cloning into 'hello-world'...
remote: Enumerating objects: 13, done.
remote: Total 13 (delta 0), reused 0 (delta 0), pack-reused 13
Receiving objects: 100% (13/13), done.
$ cd hello-world
$ av init
Successfully initialized repository for use with av!Creating a branch outside of av
$ git switch --create mytopic
Switched to a new branch 'mytopic'
$ git commit --allow-empty --message="New commit"
[mytopic d384683] New commitAdopting a branch with av adopt
Adopting an existing PR
Last updated
Was this helpful?
