- Open your terminal.
- Navigate to the directory where you want to clone the repository.
- Run the following command:
$ git clone https://github.com/owo93/c-course
- Now, you have a local copy of your repository.
- Navigate to the cloned repository's directory.
- Create and switch to your corresponding branch by running:
$ git switch student/YOUR_FIRST_NAME
- Create a new file: Navigate to the appropriate directory (for example,
week-03
), and create your new file there. An example of a file name could beassignment-1.c
.
$ mkdir -p week-03
$ touch assignment-1.c
- After making your changes to the repository, run the following commands to commit your changes to the local repository
$ git add .
$ git commit -m "Add your commit message here
- Open your terminal.
- Navigate to the cloned repository's directory.
- After making your changes to the repository. see Adding an Assignment for more information. run the following:
$ git push
Note
Feel free to reach out to me if you have any questions or need help with this project.