git loggit log --onelinegit log --graphHistory is made just of commits, branches are just labels on commits.
Notice the arrows pointing up
Like a drunk conga
- we worked on a branch and we want that work on another branch
i.e. we worked on a feature branch and we want to have that work on dev
- we worked on a branch but we need other people's work in our branch
i.e. we branched from dev, worked a few days, but the `dev`advanced and we want the latest changes
- always on public branches
- always on private branches
dev or devxc3/something
git rerere (reuse recorded resolutions)
--force-with-lease instead of --forcegit rebase branch-name -i
git rebase commit-hash -i