Section SetUp

It is highly recommended that you clone the IntroCS branch ‘Sections’ to your cs50 codespace. This is a walk-through to successfully do so.

How to clone within the cs50 codespace

Did you start CS50x in 2021 or prior? Be sure to follow these instructions if you haven’t already!

  1. Log into code.cs50.io using your GitHub account
  2. To ensure your codespace is up-to-date run
    update50
    
  3. When prompted, click Rebuild now
  4. Navigate into the ‘workspaces’ directory using
    cd ..
    
  5. Make sure that the terminal window prompts you like this /workspaces/ $.
  6. Execute the following statement to clone the branch ‘Sections’ from the IntroCS GitHub
    git clone --branch Sections https://github.com/fau-is/IntroCS.git
    
  7. To see all available directories execute
    ls 
    

    You should now be able see the ID of your personal workspace and the IntroCS directory, looking something like this: 123452123/ IntroCS/

  8. Now direct to the IntroCS folder and execute ls again
    cd IntroCS
    
    ls
    

If the process was successful the terminal should be showing this: LICENSE/ Section1/ Section2/ Section3/ Section4/ Section5/ Section6/ Section7/ Section8/ Section8_9/.

If not, retrace your steps and see if you can determine where you went wrong!

Hint
You are now able to navigate using through the directory using 'cd' (direct to a directory that is within the current one) or 'cd ..' (direct to the previous directory).