Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Use git filter-repo #19

Open
hectorsector opened this issue Dec 1, 2020 · 0 comments
Open

Use git filter-repo #19

hectorsector opened this issue Dec 1, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@hectorsector
Copy link
Member

Describe the bug
The course currently uses git filter-branch which results in the following message from git:

❯ git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch .env" HEAD
WARNING: git-filter-branch has a glut of gotchas generating mangled history
         rewrites.  Hit Ctrl-C before proceeding to abort, then use an
         alternative filtering tool such as 'git filter-repo'
         (https://github.com/newren/git-filter-repo/) instead.  See the
         filter-branch manual page for more details; to squelch this warning,
         set FILTER_BRANCH_SQUELCH_WARNING=1.
Proceeding with filter-branch...

To Reproduce
This is in Step 13: Remove historical reference to a previous .env file

Expected behavior
Git shouldn't complain if we're using the proper command.

@hectorsector hectorsector added the bug Something isn't working label Dec 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant