Git Rebase

Slowly word by word, bit by bit digest. Finally I understand what Rebase means! Hope I didn’t get it wrong.

At least I have some ideas when to use it when not to. Rebase is good from high hierarchy to lower one, but not vice versa. From lower level, should use merge.

    1. Create new branch B from existing branch A
    2. Add/commit changes on branch B
    3. Rebase updates from branch A
    4. Merge changes from branch B onto branch A

Just quoted from the article, this flow make me even understand more. They should have mentioned this in the first place.

Advertisements