bassista / moon-rapi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

All about Raspberry Pi

Raspberry Pi OS

# To enable VNC / SSH
sudo raspi-config

How to Create Private Repo with this repo as upstream?

# 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/<username>/moon-rapi-private
cd ..
rm -rf moon-rapi.git

# 3. clone
git clone https://github.com/<username>/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

About

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%