3 ms·
For every repo I fork I usually add a remote named upstream pointing to the original. So then, whenever I need to get my copy up to date with upstream it's:
by daenney 10y ago
For every repo I fork I usually add a remote named upstream pointing to the original.
So then, whenever I need to get my copy up to date with upstream it's:
update = !git fetch upstream && git merge upstream/master'
It's probably easily changed to make the branch configurable, but I have only ever needed this with master.