You use GitHub for source control. A file that contains sensitive data is committed accidentally to the Git repository of a project. You need to delete the file...


Microsoft AZ-400 Exam

Questions Number: 213 out of 535 Questions
39.81%

Question 213
You use GitHub for source control.
A file that contains sensitive data is committed accidentally to the Git repository of a project.
You need to delete the file and its history form the repository.
Which two tools can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.



To entirely remove unwanted files from a repository's history you can use either the git filter-branch command or the BFG Repo-Cleaner open source tool.
Reference:
https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository





Previous Questions Next Questions