- Use a text editor to add
Manfred Delmonte
to a new line infiles/employees.txt
andPeaches
to a new line infiles/products.txt
. - Stage the changes that you made to the files. Use the
git status
command to check that you have staged all of your changes. - Commit your staged changes using the commit message "Add Manfred and Peaches".
If you have your own repository containing this exercise (e.g. a fork) then you can push the changes you made.
- For many of the steps you could use the Git cheat sheet or git - the simple guide to find the correct command.
- For setting up your git configuration you can see the "Your Identity" and "Your Editor" sections of the Git Pro Book.
- For staging and committing modifications to already tracked files take a look at "Staging Modified Files" and "Committing Your Changes" in [Git Pro Book]https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository). These sections will also explain how to provide commit messages.