import DocCardList from '@theme/DocCardList';

# Rebasing and Stacked Branch Answers

_Fixes for rebasing stacked branches, squash merges and keeping dependent branches current._

A [stack](/learn/concepts/git/stacked-prs) is a chain of branches where each one builds on the one below. Rebasing a stack by hand is where most of the pain is. Each answer below covers one situation.
