Why might you need this? If you have file A , and every time you change A , file B gets rebuilt, and you have to commit file B , these steps will help you.…