Hands-on task
This task is step 5 of the course “Git: first commits”
Review changes before a commit
In the /root/app repository, the file config.ini has changes that aren't committed yet. Before saving them, look at what exactly changed.
- Find out what value
timeouthad before the changes and write that number to/root/answer.txt. - Commit the changes to
config.iniwith the messageNew server settings.
Reference:git
What you'll practise:
- git diff
- git diff --staged
- reviewing changes