- Create a fork of this repository by clicking on the
Fork
button in the top-right corner of this webpage - In your local repo that should have the name
githubusername/ Coding-I-Problem-Sets
click on the Green Code Button - Copy the link under HTTPS
- Open
code.cs50.io
in a new tab in your browswer - Enter into the workspaces folder by running the command
cd ..
orcd /workspaces
in your terminal - Run the command
git clone <copied gitub_link>
(e.g.git clone https://github.com/jaydenpersonnat/Coding-I-Problem-Sets.git
) - Run the command
ls
. You should see the Coding-I-Problem-Sets folder in your terminal - Enter into the folder by running the command
cd Coding-I-Problem-Sets
. - Enter into a Set folder by running the command
cd <Set{i}>
(e.g. on the first day, you'll run the commandcd Set1
) - Once you're in the appropriate folder (you should see
/workspaces/Coding-I-Problem-Sets/Set1
in your terminal), you are ready to start coding! - Run
ls
to see what files you can open. - To open a file, run the command
code <filename>
(e.g. your first command will becode faces.py
)
Once you have cloned a repository, you don't need to clone it again!
When you open VS Code in the future, ensure that you are in the correct folder
(the folder path workspaces/Coding-Problem-Sets/Set{i}
should appear in your terminal).
If it doesn't and you only see a $
, follow steps 4 - 12 (but skip step 5!).