First you will need GCC and GIT to be installed on your machine. Use this command to install GIT on Ubuntu:
> sudo apt install git
For Mac os:
> brew install git
Use this command to install GCC on Ubuntu:
> sudo apt install build-essential
For Mac os:
> brew install gcc
Manual pages about using GNU (additional):
> sudo apt-get install manpages-dev
First of all you need to fork the repository. The uou can use the command below to clone the repository to your local machine: PS: you need to change YOUR-USER-NAME in the github link with your Github username.
> git clone https://github.com/YOUR-USER-NAME/LSD_C_LAB.git
Then go to the correction folder and start working :
> cd LSD_C_LAB/TP1
If you want to push a change that you made to your repository follow these steps: First, you need to tell Git who you are:
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
Add the files that you changed :
git add *
Commit your changes :
git commit -m "a comment about your changes"
Push your changes :
git push