Git Restore - Explained with real life example 🤩

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

КОМЕНТАРІ • 16

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

    Want to learn about all important git commands ?
    Checkout this full git and GitHub Guide for Beginners : ua-cam.com/video/5Dxq1h4jKBc/v-deo.html

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

    You taught the concept very nicely. Thank You 👍

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

    Great video ✌️

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

    👏👏👏👏👏

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

    Whats the difference between git rm --cache and git restore --staged ?

    • @Devgrammer
      @Devgrammer  Рік тому +1

      The main difference between git rm --cached and git restore --staged is that git rm --cached removes the file from the index, while git restore --staged restores the file to the index from the HEAD commit.

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

    NIce video. One more thing you might (if not should) have mentioned is the difference between git restore and git reset commands.

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

      Thats true but the idea was to cover git restore

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

    Thank you so much I'm new to this and I searched everywhere on how to restore my change properly. Can you do a video about browser-sync? Mine is said connected but doesn't reload my site

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

      Glad it helped ☺️ Yes will do that as well

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

    "git restore ." teleports to last commit.