Git commands to keep a fork up to date
Phil Nash shared this helpful flow to keep your forks up to date. Most folks can get by with branch
, checkout
, add
, commit
, pull
and push
, but…
…what if you want to fork and contribute to an open source project on GitHub, GitLab or BitBucket? You’re going to need a few more commands so that you can keep your fork up to date, namely remote, fetch and merge. Let’s see how they are used…