Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Gatsby-Lee/moon-rapi


https://github.com/Gatsby-Lee/moon-rapi

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

All about Raspberry Pi
======================

Raspberry Pi OS
---------------

.. code-block:: bash

# To enable VNC / SSH
sudo raspi-config

How to Create Private Repo with this repo as upstream?
------------------------------------------------------

.. code-block:: bash

# 1. create private empty repo on github

# 2. clone and push to new empty repo
git clone --bare https://github.com/Gatsby-Lee/moon-rapi.git
cd moon-rapi.git
# push to https or ssh
git push --mirror https://github.com//moon-rapi-private
cd ..
rm -rf moon-rapi.git

# 3. clone
git clone https://github.com//moon-rapi-private
cd moon-rapi-private
git remote add upstream https://github.com/Gatsby-Lee/moon-rapi.git
git pull upstream main # This will creates a merge commit
git push origin main # So, push to the merged commit to private if you'd like to merge it into your private repo.

ref: https://stackoverflow.com/questions/10065526/github-how-to-make-a-fork-of-public-repository-private