I’m very new to git, and was wondering if something like this is possible?
>git log --pretty=oneline --abbrev-commit
2f05aba Added new feature
3371cec Fixed screw up <-- I want to remove this
daed25c Screw up <-- and remove this.
e2b2a84 First. So it's like they never happend.
Is this possible?
This is possible with
git rebase. Try the followingand then, follow the interactive instructions in your editor. In the first step you “squash” the commits. It should look something like this:
In the second step you can edit the commit messages.