Skip to content

Instantly share code, notes, and snippets.

View jaavid's full-sized avatar
🎯
Focusing

Javid jaavid

🎯
Focusing
View GitHub Profile
@jaavid
jaavid / private-fork.md
Created November 14, 2016 06:40 — forked from DavideMontersino/private-fork.md
How to fork to a private gitlab instance

Theory:

your git repository can have more than one remote server; In this case we want to have two:

  1. one for our private repository on gitlab (will be the default one, called origin)
  2. one to be connected to the source repo on github, to be able to pull new changes (will be called upstream)

How to make a private fork from github to gitlab