There are three ebuild repositories that I have forked and have a local checkout of:
Here's how remotes are set up for gentoo (similar for other repositories):
Running git remote show prints
origin
upstreamRunning git remote show origin prints
* remote origin
Fetch URL: git@gitlab.com:paveloom-g/personal/gentoo/gentoo.git
Push URL: git@gitlab.com:paveloom-g/personal/gentoo/gentoo.git
Push URL: git@github.com:paveloom/gentoo-gentoo.git
Push URL: ssh://git@codeberg.org/paveloom/gentoo-gentoo.git
HEAD branch: system
Remote branches:
master tracked
system tracked
Local branches configured for 'git pull':
master merges with remote master
system merges with remote system
Local refs configured for 'git push':
master pushes to master (up to date)
system pushes to system (up to date)Running git remote show upstream prints
* remote upstream
Fetch URL: git@github.com:gentoo/gentoo.git
Push URL: git@github.com:gentoo/gentoo.git
HEAD branch: master
Remote branch:
master tracked
Local ref configured for 'git push':
master pushes to master (up to date)Typical system update procedure:
Update each of the local repositories:
git checkout master
git pull upstream master
git push
git checkout system
git rebase master
git push -fSynchronize the system repositories with emerge --sync.
Update the system with emerge -uND @world.