DevOps | Git Revert, Reset, Checkout | git tutorial for beginners | Git Undo Changes

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

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

  • @rick_from_yr
    @rick_from_yr 2 года назад +3

    After seeing many other videos, I finally understand git reset thanks to this video 🐵👍🏻

  • @aniketpandey1913
    @aniketpandey1913 3 года назад +3

    I mistakenly pushed a commit to remote, didn't knew what to do, this video saved my life.Thank man

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

      Bro what u did? Can you please explain once....

  • @satyamnalawade4635
    @satyamnalawade4635 2 года назад

    Well Explained🤩
    git checkout= 0:31
    git reset = 3:17
    git revert = 11:28

  • @Shreenidhi110
    @Shreenidhi110 3 месяца назад +1

    Thanks alot,I was struggling to understand the basics of these git commands,this video is very helpful

  • @ShivPal-u6z
    @ShivPal-u6z Год назад +1

    Sir, your videos are very helpful and easy to understand. Thanks.

  • @andeslam7370
    @andeslam7370 3 года назад +3

    the conceptual explanation is gold. 2 years have passed and it didn't add wrinkles on the explanation. thanks.

  • @thebuildguy7
    @thebuildguy7 3 года назад +8

    This is the type of video you don't even have to ask for likes, subscribes etc, coz you know that's gonna happen automatically.
    Btw awesome explanation, it was simplest by far on internet.

  • @najimali32
    @najimali32 3 года назад +2

    Thanks It is nice explantions
    Summary: You modify your code -> You add your code to working area by git add . command then you add file to staging area(or index area) by git commit -m ''Commit Message ' then you push the code
    Soft - It doesn't touch the staging area & working area.
    Mixed - It removes the commit id & reset your staging area & don't touch the working area
    Hard - Delete all staging & working area.
    Revert - Revert you changes in remote repo & create a new commit id.

  • @yogithakakarla1716
    @yogithakakarla1716 3 года назад +2

    Well explained on git revert and git reset for freshers

  • @JavaHomeCloud
    @JavaHomeCloud  6 лет назад

    contact us online classroom training's & project support please contact phone number +919886611117

  • @gyongyikiss8655
    @gyongyikiss8655 2 года назад +3

    Excellent explanation, way better than some courses sold on Udemy. Awesome, two thumbs up!

  • @sajis79
    @sajis79 3 года назад +2

    Awesome clear explanation. Thanks buddy for this video.

  • @jamesdduong
    @jamesdduong 3 года назад +3

    This is the PERFECT tutorial! Thank you 🙏!

  • @kevwjin
    @kevwjin 3 года назад +6

    wow! this was so easy to understand. i love your concise and accurate way of teaching with examples

  • @ajayanand9557
    @ajayanand9557 3 года назад +1

    Nice video. It was very helpful...Thank you...

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

    You are unimaginably good ❤

  • @ashvajitchauhan608
    @ashvajitchauhan608 5 лет назад +7

    Thank you so much for amazing video, pls continue with others as well

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

    Excellent explaination!

  • @indraneelkaranam2689
    @indraneelkaranam2689 3 года назад +3

    You explained this in a very understandable way. Just loving the videos

  • @krishnajunk
    @krishnajunk 5 лет назад +1

    Dear Sir, Your all videos are simple, crystal clear, practical ... good for folks to brush up all for interview.
    Thanks a lot.

  • @vammy55
    @vammy55 4 года назад +1

    Very well articulated and explained.

  • @dreamcatcher9491
    @dreamcatcher9491 4 года назад +2

    Your way of teaching is awesome. Makes things very simple. Thanks a lot.

  • @pranshunayak1792
    @pranshunayak1792 2 года назад +1

    You made it so easy !

  • @beduduriharishreddy4542
    @beduduriharishreddy4542 2 года назад +1

    Super class sir

  • @miguelcallecontreras6620
    @miguelcallecontreras6620 3 года назад +2

    Thks bro, indian teachears are good.

  • @kavitha-99
    @kavitha-99 3 года назад +1

    simple and superb...

  • @karthikkarthik100
    @karthikkarthik100 3 года назад +1

    Thank you sir , I'm your fan

  • @MrQVeeBoo
    @MrQVeeBoo 3 года назад +1

    easy to understand step by step, thank you

  • @OddBallTrails
    @OddBallTrails 5 лет назад +2

    Crystal clear explanation. Thanks.

  • @venkatapradeepgopisetty3494
    @venkatapradeepgopisetty3494 2 года назад +1

    Over all its a great explanation, one doubt was let's say we have 10 commits in the remote , by using git revert shall I revert the 8 commit

  • @74Bagas
    @74Bagas 3 года назад

    wow. thank you.. this is perfect for me hahha... thank you again.. salam from indonesia

  • @lifetips7342
    @lifetips7342 5 лет назад +2

    Mind blowing session. Simple delivery but superb. Thanks Sir.

  • @unanimous8510
    @unanimous8510 4 года назад +1

    Great video with awesome examples!

  • @jiangshanzhao9414
    @jiangshanzhao9414 5 лет назад +5

    Nice video! Clearly and organized !

  • @javierdiaz6853
    @javierdiaz6853 3 года назад +1

    Very well explained

  • @raghavayoga
    @raghavayoga 5 лет назад +2

    Explanation is super... Agree with me....

  • @vaibsify
    @vaibsify 3 года назад +1

    Nice explanation

  • @DeepakKumarSahu555
    @DeepakKumarSahu555 3 года назад +2

    Superb 👌 very clear

  • @rohit_ramteke007
    @rohit_ramteke007 3 года назад

    Thanks... very well explanation

    • @JavaHomeCloud
      @JavaHomeCloud  3 года назад

      You are welcome, please subscribe and share

  • @Viralvlogvideos
    @Viralvlogvideos 2 года назад +1

    for people who are getting confuse between hard, soft and mix. simple: --soft: it will just remove the index (hashcode) of the commits but it keeps the changed files in both working and stagging area. mix: it is the default one where it will not only remove the index of the commits but also removes the files in stagging area but keeps them in working area use git status to understand it more clearly where as --hard: it will remove the index, files in both stagging and working area( it is very dangerous ).

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

      What will happen if we do hard reset after pushing commit in git repository?

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

      If we do revert the last commit after pushing it in git....can we push it normally or by force push

  • @SteveSand
    @SteveSand 3 года назад +2

    simple and understandable!

  • @codewithsub5083
    @codewithsub5083 4 года назад +1

    Very nice explained

  • @suryachandrakumar8807
    @suryachandrakumar8807 3 года назад +1

    Thank you for the explanation.

  • @chejarlaanil6088
    @chejarlaanil6088 6 лет назад

    Thank you sir... It's a awesome session... Understood very nicely...

  • @sandeepsoni7162
    @sandeepsoni7162 5 лет назад +1

    Nice explainnation

  • @bhuvanchandmaddi800
    @bhuvanchandmaddi800 4 года назад

    Clean explanation 👍

  • @hashilsemin2414
    @hashilsemin2414 3 года назад +1

    thank you and you are nice

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

    Thank you very much 🙏🙏

  • @Rohit-mu1gg
    @Rohit-mu1gg 5 лет назад +1

    NIce explanation :)

  • @bhakta_rg
    @bhakta_rg 5 лет назад +1

    Nice one!

  • @Apoorvpandey
    @Apoorvpandey 3 года назад

    Difference b/w soft and mixed reset?

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

    13:52 - How do you confirm this revert operation? I get literally stuck on this screen, not knowing how to exit this menu and enable changes 🤦‍♂What button do you press?

  • @JoshuaMusau
    @JoshuaMusau 4 года назад +1

    thanks

  • @shailesh__learning3848
    @shailesh__learning3848 3 года назад

    Thanks !

  • @subhand9961
    @subhand9961 2 года назад

    does revert command undo changes in the remote repository incase if i accidentally push the changes ?

  • @TheBooban
    @TheBooban 3 года назад

    I wish I watched this video first. But odd that checkout is also used to switch branches. Git has changed and checkout doesn't work like this anymore.

  • @pjossyjoshi7308
    @pjossyjoshi7308 5 лет назад

    I am fresher , I know python language. Pls suggest me how may I proceed in my career in devops n git. Thanku for your tutorial.

  • @saritahirekhan8829
    @saritahirekhan8829 4 года назад

    Thank you

  • @sagarsinghrajpoot6788
    @sagarsinghrajpoot6788 4 года назад

    Sir any of your git Course ? on Udemy ?

  • @TuanBui-lu7py
    @TuanBui-lu7py 5 лет назад

    when i make revert command, it will have "could not revert ... " error, help me

  • @arzz11
    @arzz11 4 года назад

    You did not show the file that has been changed in working area!!!!

  • @kolob204
    @kolob204 5 лет назад +1

    great! thanks! like and subscribe! :-)

  • @TheodoreRavindranath
    @TheodoreRavindranath 4 года назад

    Still soft reset is not clear

  • @mohameddebrrn3256
    @mohameddebrrn3256 5 лет назад +1

    Thank you very much