When using git, I sometimes want to fast-forward some
branchA, but currently I’m on
branchB. The simplest way to do this is to checkout
branchA, do a pull (or another command to fast-forward
branchA), and then to checkout
However, when switching branches, git modifies my source files, so when I’m back on
makewill think many files changed, and the recompilation might take a long time.
So it would be nice to fast-forward branches without checking them out, and here’s how to do it.
I’m currently working on setting up a website and blog with Jekyll and Github pages.
As you can see, it is far from finished!