How do I fast-forward other tracking branches in git?

I think the easiest way to avoid the git checkout trunk, git pull, git checkout branch cycle is to use this answer:

git fetch upstream trunk:trunk

This does exactly what you want – fast-forward your local branch trunk to the remote branch’s HEAD.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)