Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Tableau
  3. Question
Tableau

Search all of Git history for a string?

Asked by Dylan Powell Jul 4, 2021 2.6K views 1 answer
Share

About this question

I have a codebase which I want to push to GitHub as open source. In this git-controlled source tree, I have certain configuration files which contain passwords. I made sure not to track this file and I also added it to the .gitignore file. However, I want to be absolutely positive that no sensitive information is going to be pushed, perhaps if something slipped in-between commits or something. I doubt I was careless enough to do this, but I want to be positive.

Is there a way to "grep" all of the git? How to search git history? Is it possible to get every version of every file that ever existed? I guess if there is a command that dumps the diff file for every commit, that might work?

Your answer

1 Answer

More Tableau discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Tableau Blogs

Guides, tips and career advice on Tableau from JanBask experts.