Git-ல undo பண்றது: restore, reset, revert, reflog
Save பண்ணாத edit-ல இருந்து push பண்ண commit வரை, எந்த stage-லயும் ஒரு change-ஐ undo பண்ண முடியும்; reset-ஆ revert-ஆன்னு தேர்வு பண்ணவும், reflog வச்சு வேலையை திரும்ப எடுக்கவும் முடியும்.
Beginner 3 · Data and toolsabout 1 hour5 sections
சுருக்கமா சொன்னா
Commit பண்ணாத edits-க்கு restore, உங்க சொந்த push பண்ணாத commits-க்கு reset, push பண்ண commits-க்கு revert, தொலைஞ்சுடுச்சுன்னு நினைச்ச வேலையை கண்டுபிடிக்க reflog use பண்ணுங்க.
இது ஏன் முக்கியம்
எல்லாரும் எப்பவாவது தப்பான ஒண்ணை commit பண்ணுவாங்க. ஒவ்வொரு situation-க்கும் safe-ஆன undo தெரிஞ்சிருந்தா, main-ஐ உடைக்காம, ஒரு நாள் வேலையை இழக்காம, ஒரு நிமிஷத்துல fix பண்ணிடலாம்.
Sign up free to read the whole lesson
The rest of this lesson: 5 parts, video lessons, the best course, practice and a quick check. It is free, takes a few seconds and needs no card.
Accounts are for learners aged 18 and over. Under 18? The quick answer and the first part of every lesson stay open: browse lessons by topic.
Related
Software engineeringBeginner 3: Data and toolsVideo lessonsGit resetGit revertCommit