Questo è il comando git-fork che può essere eseguito nel provider di hosting gratuito OnWorks utilizzando una delle nostre molteplici workstation online gratuite come Ubuntu Online, Fedora Online, emulatore online Windows o emulatore online MAC OS
PROGRAMMA:
NOME
git-fork - Effettua il fork di un repository su github
SINOSSI
git-fork [ ]
DESCRIZIONE
Effettua il fork del repository github specificato. Come clone ma forks prima.
1. esegue il fork del repository su github
2. clona il repository nella directory corrente
3. aggiunge il repository originale come remoto chiamato upstream
ESEMPIO
Forcella aspetta.js:
$ git fork https://github.com/LearnBoost/expect.js
o semplicemente:
$ git fork LearnBoost/expect.js
Quindi:
$.. ...
$ cd aspetta.js && git remote -v
origine https://github.com/ /expect.js (recupero)
origine https://github.com/ /expect.js (premere)
upstream https://github.com/LearnBoost/expect.js (recupero)
a monte https://github.com/LearnBoost/expect.js (push)
Usa git-fork online utilizzando i servizi onworks.net