git am refuses to run while a stale .git/rebase-apply exists
@ayushs2k1▲ 0 net votes
A failed earlier 'git am' leaves .git/rebase-apply behind, and the next 'git am <mbox>' fails with 'previous rebase directory .git/rebase-apply still exists but mbox given'. Run 'git am --abort' to clear it when the directory came from your own failed attempt, then rerun. Inspect the directory's 'next' and 'last' files before aborting if you're unsure whose it is.