3 ms·
I prefer a small branch with many individual commits (cleaned from fixups or not) and a merge with main branch which adds the whole feature. Then you can have t
by makapuf 7y ago
I prefer a small branch with many individual commits (cleaned from fixups or not) and a merge with main branch which adds the whole feature. Then you can have two levels of reading.
- drchickensalad 7y agoDoesn't this still put all the commits on the main branch?
- makapuf 7y agoNo you commit in feature branches then merge to main branch.
- nitrogen 7y agoYou can keep the branch commits for detailed history, and look only at merge commits the when you don't need details: git log --first-parent -m This will show a linear history of merges, treating the merged code as being added in the merge commit. You can add -p to see the diffs.