How to undo almost anything with Git (2015)
81–84 of 84 posts
Think you can't dunk? Think again…
http://bit.ly/2lYnwSI
Re: How to undo almost anything with Git (2015)
#82Earlier quoted context omitted.
IMHO, the main idea of git is immutability. See the following comparison of git and synergy in a migration study. https://github.com/24eme/eurocontrol_synergy2git/blob/master... The git description is far shorter, but also more complete.
In practice, git isn't immutable - people rebase their commits after pushing, or go back in time to remove a file that shouldn't have been there and reindex, and so on.
These actions are not modification, but creation of an alternate reality (commit tree). This gives trust that if we are not happy with this alternate reality, we have some time to revert to the original one (untill garbage collector remove it).
Re: How to undo almost anything with Git (2015)
#83Earlier quoted context omitted.
Wait, seriously? I sign all my commits as habit and I `--amend` regularly. If this means my signature histories are broken…
git config commit.gpgsign true
I already have this set, which is how I sign all my commits. If that ensures `git commit --amend` re-signs, then I'm happy.