Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Clean Git history in sourcetree after using git filter-repo command to remove sensitive files

$
0
0

I tried to remove the sensitive files from my commits using the git filter-repo command. However, this resulted in a large number of random pushes and pulls in my repository.

enter image description here

In an attempt to clean up my git history, I pushed this content to a random repository, but this approach was unsuccessful. I have attached a screenshot showing the unusual repository state in Sourcetree. If I no longer care about the changes I've made to this repository, how can I clean up my Git history by deleting all these large number of pushes and pulls?


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>