Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+35 votes

I know which to use in a specific situation, but they all seem like copying to me.

asked in CSC285_Fall2018 by (1 point)
edited by

1 Answer

+16 votes
 
Best answer

Yes, they do all involve copying data somehow, but they are different.

Short summary:

Fork (happens on GitHub): copies a repository on GitHub to a new repository on GitHub.

Clone: copies a remote repository (e.g. on GitHub) down onto your local machine

Pull: Just copies the recent changes/updates from the remote repository down to your local repository, and attempts to merge those changes with any changes you've made locally in your repo. (You can only do a pull later, after you have cloned.)

answered by (508 points)
selected by
...