Home

Gentoo Portage Cheat Sheet

Daily maintenance Update the Gentoo repository Gentoo uses rsync to update the repository. Portage provides a front-end for this: root ~ # emerge --sync When the connections are restricted by administrators or firewalls, Gentoo repository can be updated by fetching the latest snapshot using: root ~ # emerge-webrsync emerge-webrsync also ...

Read more

Git Cheat Sheet

Create new repository Create a new repository on the command line git init git branch -M main git add . git commit -m "first commit" git remote add origin git@github.com:username/repo-name.git git push -u origin main Push an existing repository from the command line git branch -M main git remote add origin git@github.com:username/repo-name....

Read more