[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cdt-dev] Reminder to use 'rebase' instead of 'merge'
- From: Marc Khouzam <marc.khouzam@xxxxxxxxxxxx>
- Date: Thu, 1 Sep 2011 09:10:59 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
- Delivered-to: firstname.lastname@example.org
- Thread-index: AcxoqJfjvzIEG7p8SYaovn6R4t3ybw==
- Thread-topic: Reminder to use 'rebase' instead of 'merge'
I've seen a couple of merges on the main CDT repo recently, looking at the Git history.
This is just a reminder that when you want to merge your branch into master or cdt_8_0, etc,
it is cleaner to use 'rebase'. Your change will still appear on the main branch, but the
history will be linear instead of split. So, set your current branch to e.g., master,
the right-click on your sub-branch and select 'rebase'.
P.S. You'll notice I made the same mistake in the past :-)