- Open VSCode with WSL, and click "Clone Git Repository"
- Click clone from GitHub, and follow the steps that pop up in order to sign into GitHub.
- Copy the Git Clone URL from the GitHub repository
- Upon prompt for the Repository Name, paste the link into VSCode
- VSCode will then ask you where you want to store the project, you may store it wherever you want.
- Upon completion, you will be presented with a bunch of folders of topics.
- From here you can either open the folder manually in vscode, or via terminal (recommended)
- A terminal by using the menu option Terminal > New Terminal
- Use the
cd <folder>
command to "change directories" into the desired folder.
- Every folder will have a file called Makefile, you will learn more about these if you continue on to CSCE 221, but for now, here is how to use them.
- Open a terminal (see step 7)
- Run the command
make
to build all files. Alternatively you can run the commandmake <target>
to only make one project. Example: In the exceptions folder,make basic
will make the basic project.
- Run the desire file using
./<filename>
You can use the commandls
(short for list) to view all files in a directory.
As I add more examples it will become important to update the project.
- Install GitHub Repositories extension
- Go to the extensions tab and search up GitHub Repositories
- Click install locally, and after it's done installing a new button should appear:
- If a pop-up about periodically running git fetch pops up click yes
- Otherwise, you may have to manually hit the refresh button at the bottom of your screen.
- Frequently check for updates to stay up to date. Sync changes to pull new updates.
- Click
File > New > Project From Version Control
- Copy the Git Clone URL from the GitHub repository
- Paste the url into the URL box, and set your project directory
- Click
Clone
to make your new project - Upon completion, you will be presented with a bunch of folders of topics.
- Click
Terminal
at the bottom to pull up your terminal. Open a WSL terminal with the down arrow and clicking on Ubuntu or your WSL install (Or preferably configure you WSL terminal to be default by changing the default shell from powershell.exe to wsl.exe) - Use the
cd <folder>
command to "change directories" into the desired folder. - Every folder will have a file called Makefile, you will learn more about these if you continue on to CSCE 221, but for now, here is how to use them.
- Run the command
make
to build all files. Alternatively you can run the commandmake <target>
to only make one project. Example: In the exceptions folder,make basic
will make the basic project. - Run the desire file using
./<filename>
You can use the commandls
(short for list) to view all files in a directory.
As I add more examples it will become important to update the project.