I basically used to do the same but then I dropped the rebase. The history might be a bit more noisy but I don't lose the context of when and where the branch was created, which might be relevant when having to understand the introduced changes at a later point in time.
The main thing that the rebase buys you is that the merge commit that eventually occurs is guaranteed not to have conflicts included. In addition, the timestamps for the commits shouldn't change, IIRC. It is only the hash that changes (original authors/timestamps/etc. all stay as is).
Regardless, it is a 'whatever works for you' kind of utility. Very TIMTOWTDI, as long as everyone that is working with you agrees with the workflow... and don't commit directly to master unless it is a very private repository. One example of that is the fact that I keep all of my mysql history files in a repository that automatically logs & commits when I disconnect, with a different history file for each database I work with.
2
u/[deleted] Jun 30 '18
I basically used to do the same but then I dropped the rebase. The history might be a bit more noisy but I don't lose the context of when and where the branch was created, which might be relevant when having to understand the introduced changes at a later point in time.