Welcome to the main
repository of CS220. This is where you find resources for
the homeworks and in-class activities. Also, this is the central place where you
can ask questions and discuss with your peers and TAs.
You should visit this page to see them.
You should use the discussions tab of this repository to ask questions. One important thing to remember is that you should search for similar questions before asking a new one. TAs will deduct your points if you ask a question that has already been asked.
Shell is a program that allows you to interact with your computer using text commands. You'd better get used to it to do your homeworks. There are many different kinds of shells, but here are some of the most popular ones for each platform.
- Windows: Windows Terminal (recommended) or PowerShell.
- macOS: Terminal
- Linux: bash, zsh, etc.
We will assume that you understand how to list files/directories, modify files/directories, and launch programs using a shell. You may find this useful.
There are roughly three ways. You should install Git first, and optionally install GitHub CLI for the third method.
-
Using HTTPS
To learn how to authenticate with GitHub using HTTPS, see this.
git clone https://github.com/KAIST-CS220/CS220-Main.git
-
Using SSH
To learn how to connect GitHub with SSH, see this guide.
git clone [email protected]:KAIST-CS220/CS220-Main.git
-
Using GitHub CLI
gh repo clone KAIST-CS220/CS220-Main
You should learn basic commands to do your homeworks. In most cases, your workflow will be as follows.
- You clone a repository to your local machine using one of the commands above,
i.e.,
git clone ...
, etc. - You now modify some of the files in your local (cloned) repository.
- You want to save your changes by first adding modified files to the staging
area with
git add <file>
command. The command will mark the file to be included in the next commit you make. - You then commit the changes in the staging area with
git commit -m "commit message"
command. The-m
option is for specifying the commit message. - Finally, you push the commit to the remote repository with
git push
command. - Always remember to make sure that your push is successful by checking the GitHub web page.
You should install .NET SDK 8.0 or above. Please read this guide.