I (think) I've set up Git correctly. How do I pull my friend's project that he's shared with me so that I can help him with it?
Git – How to use the Ubuntu command line to pull a project that’s been uploaded onto Git
command-linegitubuntu
Related Question
- Git: How to force “git pull” to overwrite local files
- Git – Delete commits from a branch in Git
- Git – How to create a remote Git branch
- Git – Move the most recent commit(s) to a new branch with Git
- Git – How to check out a remote Git branch
- Git – How to make Git use the editor of the choice for commits
- Git – How to determine the URL that a local Git repository was originally cloned from
- Git – How to update or sync a forked repository on GitHub
Best Solution
By "uploaded onto Git" I assume you mean "uploaded onto GitHub". That's an important distinction: Git is a source control system. GitHub is a place to host repositories that are controlled via git.
To clone a repository that is hosted on GitHub, first log into your github account and go to the main page (https://github.com/). Off to the right, just under the tiles at the top will be a section labeled "Your Repositories". The one your friend shared with you should be listed. Click on it. Then near the top of this new page, you'll see a git clone url like "git@github.com:abc/xyz.git". Copy this and then run the command: