What will happen in the following scenario:
- There is a master branch with endless lifeline
- New branches are created for features and merged with master when finished. The branch is afterwords deleted
At some point i needed to do a change in the feature that was already considered closed (it was merged into master and deleted)
X --- --- (feature (branch deleted) / \ / \ a --- --- --- M master What I did was:
git rebase --interactive X Did the changes in the source and amended the commit X. I was hoping to have the graph unchanged but got something like:
X --- -(feature (branch deleted) / \ / M / / / / a --- --- --- X master Does the editing of commits spread between merges? What about potential conflicts with existing "future" commits?