by zith · 4mo ago · 0 comments
1. Everyone uses feature branches
2. Everyone cleans up their branch using interactive rebase on top of main before review
3. All merges have been freshly rebase on main
I think it works very well and keeps the history clean while preserving "each commit does one thing".
The one time I suggested that, someone immediately came up to me trying to convince me that rebases are the most dangerous thing ever.
one of the first things i do in a new gitlab repo is set up ff+squash commit merges with the squash commit message template automatically pulling the MR title, link, description, authors etc.
%{title}
-
ref: %{reference}
url: %{url}
authored by: %{merge_request_author}
merged by: %{merged_by}
-
%{description}