Git intermedio
George Boorman
Curriculum Manager, DataCamp


Tutto è salvato in backup
Collaborazione ovunque ti trovi

Copie del repo sul nostro computer = remote locali
Fare copie = clonare
git clone path-to-project-repo
git clone /home/george/repo
git clone /home/george/repo new_repo
I repo remoti stanno di solito su un servizio online
Se abbiamo un account:
git clone URL
git clone https://github.com/datacamp/project
Quando cloni un repo
Git salva un tag di remote nella config del nuovo repo
Elenca tutti i remote associati al repo
git remote
datacamp
git remote -v
datacamp https://github.com/datacamp/project (fetch)
datacamp https://github.com/datacamp/project (pull)
origin in automaticogit remote add name URL
george git remote add george https://github.com/george_datacamp/repo
Git intermedio