Removing sensitive information from git history

Поділитися
Вставка
  • Опубліковано 8 жов 2024
  • This video demonstrates how to remove a file with sensitive information from git history in less than 7 minutes.

КОМЕНТАРІ • 22

  • @po210
    @po210 11 місяців тому +6

    The Shakira reference caught me off guards.

  • @hokwanhung
    @hokwanhung Рік тому +3

    Well-explained video with clear instructions. I have difficulties using the newest git-filter-repo, and this helps me save much time. Thanks!

    • @hafizdwp
      @hafizdwp 6 місяців тому

      im on the same boat, ima just use this 😅

  • @troymitchel4790
    @troymitchel4790 2 роки тому +37

    It is ridiculous of how much effort it takes to do this.

    • @Submersed24
      @Submersed24 5 місяців тому

      Yeah one would think there should be a way to just mask a string in history

  • @fernandohernandezmena3679
    @fernandohernandezmena3679 Рік тому +3

    this ruins your PRs because the root of the updated branch differs from the main's root

  • @spongedudeZ
    @spongedudeZ Рік тому

    This worked for me! Was able to delete my secret keys from my git history. Thanks!

  • @aMadGecko
    @aMadGecko 2 місяці тому

    Great video, very easy to follow and works :D

  • @morplul262
    @morplul262 2 роки тому +2

    Thank you. Now I can fix my stupidity.

  • @igorluizlampa
    @igorluizlampa 4 місяці тому

    Thank you very much!! It works perfectly!

  • @maxinitin
    @maxinitin Рік тому

    Great video. Will this works for merge request too? The issue we’re running into is that GitLab merge requests are read-only and therefore can’t be updated, so the push to the merge request refs is rejected, meaning secrets persist in the merge requests.

  • @atrikashow8118
    @atrikashow8118 3 місяці тому

    Thank you so much
    this video helped me a lot sir

  • @jean-sebastiendesmarais6019

    Does this matter for local-only git repo? If I eventually push it to Github I want to make sure my file is not included in the history (my config file was not in my gitignore initially).

  • @musicotensai
    @musicotensai 11 місяців тому

    What if I want to keep the file but just replace the secret with an encrypted value?

  • @austin1052
    @austin1052 Рік тому

    Thank you for this! worked perfectly

  • @jaymichalek1693
    @jaymichalek1693 2 роки тому

    Very well explained. Thank you.

  • @demeja16
    @demeja16 2 роки тому

    Man, thank you so much for this video:)

  • @pasmetha
    @pasmetha Рік тому

    You are awesome!!!!!! THANK YOU

  • @ekkogaming5461
    @ekkogaming5461 3 роки тому

    why does it keep telling me bad revision "rm", I double checked the spaces and everything

  • @brahmcdude685
    @brahmcdude685 3 роки тому

    how can i remove an image that i uploaded to github?

  • @coltonpiper6156
    @coltonpiper6156 Рік тому

    My commits don't lie is so bad hahaha.

  • @ekkogaming5461
    @ekkogaming5461 3 роки тому

    why does it keep telling me bad revision "rm", I double checked the spaces and everything.