Search notes:

Sync forked github repository

After forking the repository:
git clone https://github.com/FORKING_USER/repo
cd repo
Add the remote. Note the final .git in the URL:
git remote add upstream https://github.com/ORIGINAL_OWNER/repo.git
git remote -v
git fetch upstream
Checkout desired branch
git checkout master # or main, or xyz
git merge upstream/master # or main, or xyz …
git push

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759397926, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/version-control-systems/git/common-tasks/Sync-forked-github-repository(51): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78