Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.


+34 votes

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

asked in CSC285_Fall2018 by (8 points)
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 (116 points)
selected by