3 ms·
The rule of thumb is to only use rebase for local commits (commits that haven't been pushed). This causes pain if people have commited, or will commit, work on
by Skinney 13y ago
The rule of thumb is to only use rebase for local commits (commits that haven't been pushed). This causes pain if people have commited, or will commit, work on a branch that has been rebased remotely.
I've never really thought of Git history as a tree. I just think of it as a linked list of commits, and that I have more than one list available (branches).
- yxhuvud 13y agoWhat do you have if you have several lists with a common ancestor? You have a tree!
- Skinney 13y agoI wasn't disagreeing, I simply said I never looked at git's history in that way. While I certainly do have a tree, I don't necessarily perceive it as such, especially when using "git log --graph --format=oneline --first-parent"