How to Split and Fold Pull Requests
Learn how to split and fold pull requests in our how-to guide. It's helpful when you accidentally create a large pull request and must split it for code review.
Overall Workflow
Setup
$ git clone https://github.com/octocat/hello-world hello-world
$ cd hello-world
$ av init
$ touch myfile
$ git add myfile$ av branch stack-1
$ echo 1a >> myfile
$ git commit -m 1a myfile
$ echo 1b >> myfile
$ git commit -m 1b myfile
$ echo 2a >> myfile
$ git commit -m 2a myfile
$ echo 2b >> myfile
$ git commit -m 2b myfileSplit the branch
Fold the branches
Last updated
Was this helpful?
