All commits are on local. No remote things related.
I have some commits already (say AA, BB and CC) but I wanna remove some files in the first commit(AA). Usually say if I need to change something in BB I do git rebase -i BB^
and then git reset BB^
and make changes then but this time git doesn't allow me to touch anything before the first commit (i.e. I can't do rebase AA^). I tried git checkout AA
but in that case I would be in detached state and still couldn't change anything in that commit apart from rewording the commit message.
How can this be solved?