AZ-400 – Question 141

0
87
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.

A. the git filter-branch command
B. BFG Repo-Cleaner
C. the git rebase command
D. GitHub Desktop
 
Correct Answer: AB 
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.