Deleting commits | How, why and why not | GitHub Tutorial

Поділитися
Вставка
  • Опубліковано 4 січ 2025

КОМЕНТАРІ • 82

  • @akshayshinde2403
    @akshayshinde2403 2 роки тому +14

    I messed up with my git structure and I had a lot of unnecessary commits that I reverted and my git was looking very congusted, but now it looks clean. Thank you for the video.

  • @thescarecrow897
    @thescarecrow897 11 місяців тому +3

    life saver man , you explained everything perfectly and didnt rush things.

  • @lejocarry
    @lejocarry Місяць тому

    Short and clear tutorial. Thanks a lot :)

  • @juanpazmino8645
    @juanpazmino8645 2 роки тому +3

    This video deserves more likes and views!!
    Thanks for your valuable help! :)

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

    This video was very helpful it is exactly what i was looking for. Thanks

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

    You are a goddamn genius! Been trying to revert changes, delete history, and delete the branch for 3 hours...... THANK YOU!

  • @XunoHa
    @XunoHa 3 роки тому +4

    This saved a ton of time. Thanks so much!

  • @ChristopherJohnson-st6fn
    @ChristopherJohnson-st6fn Рік тому +1

    Thank you for such a straight forward and clear answer on this!

  • @yoman9446
    @yoman9446 3 роки тому +3

    Thanks! needed this

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

      Sussy Lester ... I am hecker I am gonna heck you.

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

      fake Lester! No Subs

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

      @@niharakshai3563 i know that but it puts a smile on my face when I saw lester 😂

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

    Thank you so much i was looking for this, finally something that works!!!😀😀😀

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

    Thanks man , it was helpful

  • @maaxtro
    @maaxtro 2 роки тому +1

    Best explanation, thank you!

  • @madihamuhammad3799
    @madihamuhammad3799 3 роки тому +1

    Thanks man u saved my time

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

    How to get back those 11 commits in the commit history after the force push. Please help me ASAP.

  • @ilyash1067
    @ilyash1067 3 роки тому +1

    Thanks, saved my time!

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

    Thankyou so much, you saved my job

  • @magicalmonke
    @magicalmonke 2 роки тому +1

    this video was very helpful uwu thank u💕

  • @dev_troy8903
    @dev_troy8903 7 місяців тому

    thanks a lot man this video saved me. 🤝

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

    Helped a lot. Thanks

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

    Thank you so much for the help!

  • @user-kp23t48d
    @user-kp23t48d 2 роки тому

    Thanks. This was a major help.

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

    Very easy to understand video, thanks for the tip

  • @thevfxwizard7758
    @thevfxwizard7758 2 роки тому +1

    What if I am simply running out of storage space and some unnecessary older versions are using that up? Working with large GameDev files for instance.

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

    Works, thank you for your time!😀

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

    Thank you. This was helpful.

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

    Works, thank you for your time!

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

    Great content! You saved my time!

  • @AblazeCore
    @AblazeCore 2 роки тому +1

    Whoever disliked this video, is clearly on drugs! This video is great! Good Job Man! Been a subscibed for a while

  • @dayls8545
    @dayls8545 2 роки тому +3

    Hello! I have a problem with this command. Git prints this instead of deleting commits of the repository: `fatal: ambiguous argument 'HEAD~7': unknown revision or path not in the working tree.`. Searched this problem on stackoverflow, but it doesn't seem that anyone had this problem yet(

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

      I had the same problem, have you found a solution yet?

  • @DEV-TRAP
    @DEV-TRAP Рік тому

    amazing tutorial, keep it up.

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

    Thanks for helping out and clearing doubt 🙌

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

    Thanks you Such a great video

  • @Omar_Muhammad
    @Omar_Muhammad 3 роки тому +1

    Thank you very much, that helped me a lot.

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

    This video is about the ones at the end, what about a commit from the middle?

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

    super helpful. liked!

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

    Thanks, sir I was a great help

  • @sureshmakwana8709
    @sureshmakwana8709 3 роки тому +1

    I can't delete the very 1st commit out of the GitHub repository right ? With git reset command ...... As git reset just takes the head to the provided commit ID but how can I empty a GitHub repository with 0 commits like a fresh repository when it was created.?? Now I know the easy method for this is deleting and creating altogether a new repository but still asking for knowledge 😅

  • @emre.yilmaz
    @emre.yilmaz 2 роки тому

    Thanks. Best solution.

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

    Thanks for this video very simple.. more videos...

  • @Rishiplays777
    @Rishiplays777 10 місяців тому

    Thanks. It helped.

  • @sergeytsepilov-dev
    @sergeytsepilov-dev 9 місяців тому

    Thank you very much)

  • @1412-kaito
    @1412-kaito 2 роки тому

    Thanks!
    I by mistake left a Token there, even after regenerating it I wanted it gone

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

    is it possible to get the deleted commits back?

  • @Moamal-Alaa
    @Moamal-Alaa Місяць тому

    Thanks, I just pushed commit with .env file that includes some IDs of my emailjs template lol

  • @rayyanshaheer
    @rayyanshaheer 10 місяців тому

    Thanks man.

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

    What if the commit was in a different branch?

  • @Raqibur.Rahman
    @Raqibur.Rahman 2 роки тому

    Thank you!

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

    3:18 - my note

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

    Thank you so much

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

    Thanks Brother

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

    thanks man!!

  • @giovannifernandesgarciados9534
    @giovannifernandesgarciados9534 8 місяців тому

    Thanks!

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

    helpful, thanks

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

    How to do it on mobile

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

    THANKYOU!!!!

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

    thank u so much, god damn

  • @khoilam7569
    @khoilam7569 3 роки тому +1

    thanks sir

  • @vscrach7
    @vscrach7 3 роки тому +1

    god bless you

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

    thanks!

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

    thanks :)

  • @redinternet9893
    @redinternet9893 3 роки тому +2

    why your main branch called master?

  • @lowgolds9389
    @lowgolds9389 3 роки тому +3

    hi

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

    THANKSSSSSSSSSSS !!!

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

    thx a lot

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

    Thanks

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

    thanks

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

    luv ya

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

    im so fired

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

    MUERTO

  • @Yazy-tf1sv
    @Yazy-tf1sv Місяць тому

    Lol you shouldn;t have to do all these to delete a commit. There should be a delete commit button in github

  • @Eduinfomark
    @Eduinfomark 3 роки тому +1

    You were too fast. I guess you didn't want to teach us.

    • @h3w45
      @h3w45 3 роки тому +4

      there is an option to slow down the video!

  • @kirolosmalak858
    @kirolosmalak858 3 роки тому +1

    Thank you very much, that helped me a lot.

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

    Thanks very much!

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

    thx man!