Replies: 2 comments 8 replies
-
I want to tackle this one, because after my recent experimentation with Firstly, it's important to note that To answer your question exactly as it is written: every commit is immutable. Commits cannot be changed. You can create a new commit using an existing commit as a starting point. Rebase, edit, move/squash, and describe (probably others too, just as an example) all do this. The old commits are still there, unchanged, after these operations, as shown by the What I believe you mean to ask instead is: what makes a change immutable? As in, what makes it so you cannot make some change point to a new commit? I don't have the exact answer for this, but I have observed it happening if I try to |
Beta Was this translation helpful? Give feedback.
-
Regarding immutable revisions: they are calculated by using the You can also override |
Beta Was this translation helpful? Give feedback.
-
I have two questions that sort of go together.
Beta Was this translation helpful? Give feedback.
All reactions