Hands-on task
This task is step 7 of the course “Git: rewriting and rescuing history”
Find the commit that added a line
In /root/repo the file config.ini was edited by many commits. At some point someone added the line debug=true to it — now you need to figure out in which exact commit it first appeared. Write the full hash of that commit into the file /root/answer.txt.
Reference:git
What you'll practise:
- git blame
- git log -S
- line history
- git rev-parse
- finding a commit