This may sound weird, but I just amended a commit to test my EDITOR
environment variable. I wasn't aware that the commit would be amended even though I didn't edit the commit message or any files. The commit in question was merged from the develop branch into the master branch and tagged. After the amend though, the branch structure went all wonky:
I don't know how bad this is or how many issues it will cause in the future, but I don't dare touch the repository until I know more. I'd really like to just rewind the repository back to before I amended the "Added docs." commit. The develop branch should be pointing to the "Added docs." commit that's merged into the master branch, and the current "Added docs." commit should not exist.
Is that possible?
Related: