On this pageSummaryCodeSummary Sometimes you need to copy a repository and remove the history.Code git filter-branch --index-filter 'git rm --cached --ignore-unmatch [file_name]' HEAD