Skip to content

Instantly share code, notes, and snippets.

View RainerZufall187's full-sized avatar

Rainer RainerZufall187

View GitHub Profile
@RainerZufall187
RainerZufall187 / private_fork.md
Last active May 6, 2024 19:15 — forked from 0xjac/private_fork.md
Create a private fork of a public repository
  1. duplicate original repository here: https://github.com/new/import

  2. clone your own private repo

  3. add upstream

    git remote add upstream https://github.com/EXAMPLE-USER/ORIGINAL-REPOSITORY.git
    git remote set-url --push upstream DISABLE

list all your remotes with git remote -v