Questions on your mind? Please ask your questions in the comment section below & our team will answer it for you. Next session is on "Variables, Conditionals, & Loops| Basics of Python | Part 1"(kzbin.info/www/bejne/qpeWpY2Ihqucjrs). Turn on your reminder & stay tuned! #Subscribe & hit the like Button. *Relevel by Unacademy | Sign up now: relvl.co/se8h *CodeBeyond Telegram | Join now: t.me/codeverseofficial
@dhananjoydey13372 жыл бұрын
2:02:20 git revert deletes the commit at that id
@dhananjoydey13372 жыл бұрын
2:01 'git push --force ' force push the changes
@dhananjoydey13372 жыл бұрын
2:02 'git commit -am' stage the changes and then commit the changes
@dhananjoydey13372 жыл бұрын
37:04 git reset HEAD~1 reset the last commit.
@dhananjoydey13372 жыл бұрын
git reset --soft HEAD~1 42:00 reset the last commit but unlike default reset it does not unstage the changes
@dhananjoydey13372 жыл бұрын
45:20 git reset --hard HEAD~1 here commit will be gone and even the changes will get removed