Комментарии •

  • @zak5109
    @zak5109 2 дня назад

    Thanks work delete .env from repository

  • @bhargavkumar
    @bhargavkumar 11 месяцев назад +8

    Bro it's literally 1 AM and I was frustrated with all of these things. Because of this video I am going to get a good night sleep. Thanks Brother❤❤

    • @devstuff92
      @devstuff92 11 месяцев назад +1

      These kind of comments make me happy, don't forget to subscribe 🙏🏻

    • @InnocenceVVX
      @InnocenceVVX Месяц назад

      Haha this is so relateable

  • @true227
    @true227 Месяц назад

    Guys, if your env file is nested into folder front or server , you should to write full path , fro example git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch front/.env" HEAD

  • @user-xo7kl7rk5m
    @user-xo7kl7rk5m 5 месяцев назад

    bro can you help me. i already deploy my app with my .env in there and suddenly when i follow your steps my website that i was already deploy cannot read my api key in my .env files

  • @user-yr9zs6sr9d
    @user-yr9zs6sr9d Год назад +1

    thanks man. best and most simple tutorial on the internet :). this works with any type of file, not just .env - So you could probably change your title

    • @devstuff92
      @devstuff92 Год назад

      Glad you liked it, I appreciate your feedback! And I know but I've made this tutorial specifically for env file

  • @etziliodidfix171
    @etziliodidfix171 2 месяца назад

    In my case the secret is in filesystems file, is it overall .env?

  • @m0-s7
    @m0-s7 11 месяцев назад +1

    thanks bro u saved my time

    • @devstuff92
      @devstuff92 11 месяцев назад

      Glad I could help

  • @prithvijitbasak
    @prithvijitbasak 3 месяца назад

    Thanks for the help 🤝

  • @imonisabrian8215
    @imonisabrian8215 11 месяцев назад +1

    Thanks so... much. it was very helpful

    • @devstuff92
      @devstuff92 11 месяцев назад

      You're welcome!

  • @yashkaskar5699
    @yashkaskar5699 Год назад +2

    Thank you mate, appreciate your work

    • @devstuff92
      @devstuff92 Год назад

      Thank you for the support

  • @ridwanakmaluddin3479
    @ridwanakmaluddin3479 21 день назад

    Thank u bro, this is the one ive been looking for.

  • @shadowzone6469
    @shadowzone6469 4 месяца назад +4

    git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch .env" HEAD

  • @tigruhh588
    @tigruhh588 Год назад +1

    Life saver, thank you!

  • @AnudeepSambaraju
    @AnudeepSambaraju Год назад +1

    Wow life saviour , thanks dude

  • @user-xo7kl7rk5m
    @user-xo7kl7rk5m 5 месяцев назад

    bro can u help me. i already deploy my webiste on netlify with my .env file in there and suddenly when i follow ur steps to hide the .env files, my website that has been deployed before crash because cannot read my api key on .env file

    • @greenweed3253
      @greenweed3253 4 месяца назад

      I am hosting my website on AWS EC2, It is still running my website using the old version of my git repository which had .env file. So if something like this is possible in netlify, then you can try that.

  • @hypersecret6288
    @hypersecret6288 11 месяцев назад

    how did you get suggestion/recommandation when writting in the terminal ?

    • @devstuff92
      @devstuff92 11 месяцев назад

      Using Powershell v7.3.5, it gets integrated with vscode automatically

  • @abigiyatadesse2672
    @abigiyatadesse2672 7 месяцев назад +1

    Thank you this is really helpful.

    • @devstuff92
      @devstuff92 7 месяцев назад

      Awesome! Show support by liking, sharing and subscribing🙏🏻

  • @rached2439
    @rached2439 Год назад +1

    This is really helpful man I appreciate it!

  • @jhonvaron1721
    @jhonvaron1721 28 дней назад

    Thanks, brother. Very helpful!

  • @sohail21400
    @sohail21400 2 месяца назад

    Bro, you saved my life!

  • @aryaprima6626
    @aryaprima6626 10 месяцев назад +1

    Thankyou man

    • @devstuff92
      @devstuff92 10 месяцев назад

      Happy to help

  • @pomeboat
    @pomeboat 2 месяца назад

    Thank you so much!

  • @JohnDoe-to8vr
    @JohnDoe-to8vr 2 месяца назад

    thank you very much

  • @InnocenceVVX
    @InnocenceVVX Месяц назад

    Thanks so much!

  • @nier704
    @nier704 Месяц назад

    thank you

  • @moinshaikh7741
    @moinshaikh7741 10 месяцев назад +1

    Thanks, Man! Super helpful👍

    • @devstuff92
      @devstuff92 10 месяцев назад

      Glad it helped!

  • @aridiculouslysexyname5802
    @aridiculouslysexyname5802 7 месяцев назад

    bro's a lifesaver!

  • @F-xq6rp
    @F-xq6rp 4 месяца назад

    thanks a bunch

  • @user-dg2uj1tz3c
    @user-dg2uj1tz3c 6 месяцев назад +1

    Awesome, thank you!

  • @Axpsi
    @Axpsi 4 месяца назад

    Man. You really going to Heaven for this

  • @GameDevGeeks
    @GameDevGeeks Год назад

    what if it's not a single file but rather a folder that I accidentally pushed?

    • @devstuff92
      @devstuff92 Год назад

      git rm -r --cached folder_name
      git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch folder_name" HEAD
      git push --force

  • @paulo-sh
    @paulo-sh Месяц назад

  • @adefarhanzikri
    @adefarhanzikri Год назад

    superr

    • @devstuff92
      @devstuff92 Год назад

      Subscribe for more, new video soon!

  • @iakovryzhichka2832
    @iakovryzhichka2832 8 месяцев назад +1

    my hero!

    • @devstuff92
      @devstuff92 8 месяцев назад

      Glad it helped you!

  • @Lionel_Wilson
    @Lionel_Wilson 11 месяцев назад +1

    you're a top g. great video

    • @devstuff92
      @devstuff92 11 месяцев назад

      Appreciate it!

  • @nicosilva9022
    @nicosilva9022 Месяц назад

    love you

  • @RisRajraokumar
    @RisRajraokumar Год назад

    how to reverse this I had problem in it

    • @devstuff92
      @devstuff92 Год назад

      First, make sure you have a backup of your repository in case anything goes wrong.
      git push --force origin
      If you no longer have the original branch and need to restore it, you can recreate the branch from the commit that existed before the removal process. Identify the commit hash of the commit that you want to restore and run the following command:
      git branch
      git push origin

  • @mainakmukhrjee6328
    @mainakmukhrjee6328 Год назад

    Thanks dude