Skip to content

Instantly share code, notes, and snippets.

View jaavid's full-sized avatar
🎯
Focusing

Javid jaavid

🎯
Focusing
View GitHub Profile
@pi0
pi0 / hosts.sh
Created January 25, 2017 14:11
raw.githubusercontent.com
echo "151.101.84.133 raw.githubusercontent.com" | sudo tee -a /etc/hosts
@DavideMontersino
DavideMontersino / private-fork.md
Last active February 27, 2024 12:56
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