From cc613610beb4333a826d22e53428d24f9f38e59b Mon Sep 17 00:00:00 2001 From: afolabiomotoso <afolabi88@gmail.com> Date: Tue, 17 May 2022 22:50:19 +0100 Subject: [PATCH] Add Afolabi Omotoso to Contributors list --- Contributors.md | 3 ++- additional-material/git_workflow_scenarios/undoing-a-commit.md | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Contributors.md b/Contributors.md index 76668c7511..3e11511353 100644 --- a/Contributors.md +++ b/Contributors.md @@ -2999,7 +2999,6 @@ yejashi - [Jaintra Kumar Pandey](https://github.com/jaintra) - [Acigam] (https://github.com/Acigam) - [marenga julius](https://github.com/marenga14) -- [Noemi Andras] (https://github.com/noemiandras) - [Preeti Tibrewala] (https://github.com/preetitibrewala) - [Muskan Gupta] (https://github.com/gmuskan95) - [Sheryl Delrosario] (https://github.com/sheryldelrosario) @@ -3015,6 +3014,7 @@ yejashi - [Rohitdutt parsai](https://github.com/rohitdutt) - [Abdulhakeem Adefioye](https://github.com/Adefioye) - [Ayush Yadav] (https://github.com/yadav-ayush) +- [Noemi Andras] (https://github.com/noemiandras) - [Tyler Parris] (https://github.com/tparris4) - [Hesbon Mokua] (https://github.com/hezthewolf) - [Ogenna Esimai](https://github.com/ogennaesimai) @@ -6821,4 +6821,5 @@ Duncan Ledesma - [vinsout](https://github.com/vinsout) - [Fabio tarantino](https://github.com/FabuDev7) - [pdog](https://github.com/PDog1310) +- [Afolabi Omotoso](https://github.com/avurlerby) <!-- prettier-ignore-end --> diff --git a/additional-material/git_workflow_scenarios/undoing-a-commit.md b/additional-material/git_workflow_scenarios/undoing-a-commit.md index ba2d363d91..773685e653 100644 --- a/additional-material/git_workflow_scenarios/undoing-a-commit.md +++ b/additional-material/git_workflow_scenarios/undoing-a-commit.md @@ -53,3 +53,6 @@ $ git reset --hard HEAD~2 The ```git reset --hard HEAD~2``` moves the current branch backward by 2 commit points at the same time reverting all changes you have made and remove the 2 snapshots we have just created from project history. P.s. Never perform ```git reset --hard``` if you've already pushed your commits to a shared repository as it will cause problems to everyone on that repository. + +After running git reset --hard uou can push the changes to remote repository by running git push -f +Disclaimer: This must be done with Caution! -- GitLab