- Download the git client from here
- Install the git client
- Open either command prompt, or gitbash
- Navigate to your documents or wherever you want to store the repository (Using cd in your terminal)
- Run the following command to clone the repo ➡
git clone https://github.com/henrym2/Sweng-11.git
- You've now got the repo down! 🎆
- Navigate into the directory with the following command
cd Sweng-11
- Run the
git pull
command to get the most up to date code.
- Download git in your terminal with
sudo apt-get git
(Or similar, depends on your distribution) - Navigate to your documents or wherever you want to store the repository (Using cd in your terminal)
- Run the following command to clone the repo ➡
git clone https://github.com/henrym2/Sweng-11.git
- You've now got the repo down! 🎆
- Navigate into the directory with the following command
cd Sweng-11
- Run the
git pull
command to get the most up to date code.
- Open your terminal (iTerm usually)
- Run the following command
git --version
- If git isn't installed you will be prompted to install it
- Navigate to your documents or wherever you want to store the repository (Using cd in your terminal)
- Run the following command to clone the repo ➡
git clone https://github.com/henrym2/Sweng-11.git
- You've now got the repo down! 🎆
- Navigate into the directory with the following command
cd Sweng-11
- Run the
git pull
command to get the most up to date code.
Now that the repo is down, it's time to commit a change.
- Edit the README.md file, and add your name under the contributors header.
- In your terminal, navigate into the Sweng-11 folder.
- Run
git pull
. It's important to do this before every commit to make sure you have the most up to date copy of the source. - Run
git add README.md
to add your changes to your commit. You can add multiple files per commit, but for now we only have the README.md - Run
git commit -m "<YOUR_NAME>'s first commit"
to commit the changes and to add a message. These messages should quickly describe any changes you've made in that commit - Run
git push
to push your changes to github!
The following links are handy if you need any git based help, or feel free to just ask!
Matthew Henry 🐱🏍 Matthew Howard Jenna Lake :-) Stefan ~ Imoesi Idogho Huibo He