Buy us a coffee

Git revert aur reset mein farak

  • Advanced
  • Module 1 of 1 in this level
  • Open to learn
Start this skill

Watch

Watch the video to unlock the quizquiz खोलने के लिए video देखें

What you should understandआपको क्या समझना है?

  • revert उलटा करने वाला नया commit बनाता है और इतिहास बचा रहता है।
  • reset इतिहास में पीछे ले जाता है, यानी commit हटा देता है।
  • जो काम दूसरों को भेजा जा चुका है उस पर revert ही सही है, reset नहीं।