How to Undo Mistakes With Git Using the Command Line

How to Undo Mistakes With Git Using the Command Line

freeCodeCamp.org

3 года назад

82,612 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

foosfighter
foosfighter - 28.07.2023 03:38

Great video. I like how you presented the use cases.

Ответить
Best choice
Best choice - 21.07.2023 21:19

git restore . command do not work for deleting the untracked or unstaged files. Can we use git clean -fdx ?

Ответить
Harry John
Harry John - 04.06.2023 16:58

Please provide link to your complete course.

Ответить
treequin
treequin - 23.05.2023 06:39

Very good tutorial! Learned quite a few things watching it. Thanks for making it!

Ответить
Muhammad Talha Baig
Muhammad Talha Baig - 12.05.2023 20:55

Thank you bro!

Ответить
Nordic Nomad
Nordic Nomad - 04.04.2023 02:07

🎉

Ответить
Amit Biswas
Amit Biswas - 06.02.2023 11:28

Here is the scenario, I created a branch from "develop" branch, then I created my PR against "develop". Code reviewer reviewed and Approved. Then I merged my branch (PR) with with "develop". I have have couple changes for example , commit A, B, C. so on. I just don't want changed " commit B". How to undo that form the merged PR and "develop" branch should nor have that "commit B"

Ответить
Rafael Messias
Rafael Messias - 05.02.2023 02:20

That's a must-see for sure. Thanks for the content. Valuable af

Ответить
Private Name
Private Name - 09.10.2022 19:54

Fantastic video. And very comprehensive. Only thing is that you never gave the CLI commands for the last exercise, "Splitting / Editing and Old Commit." I took good notes on everything else. Thanks for this post.

Ответить
Cesar Espitia
Cesar Espitia - 02.09.2022 21:03

Thank you.

Ответить
Harshad Pandit
Harshad Pandit - 25.07.2022 21:25

Probably the most important topic on GIT explained in the most simplest way. Awesome.

Ответить
Mo Ali
Mo Ali - 26.06.2022 14:32

Not exaggerating, you are a gift from heaven, currently having problems with bad merges with master branch. This is helping me alot

Ответить
Batuhan Budak
Batuhan Budak - 22.04.2022 22:53

Wow, amazing tutorial. After reading the git documentation I was really confused about some topics but this lesson made it clear to me. I really appreciate it thx for the great content.

Ответить
Charanjeet Kaur
Charanjeet Kaur - 13.04.2022 11:44

You are awesome indeed. thanks alot!😍🙏 Thanks for providing such a crucial knowledge for free.

Ответить
Nomaan Butt
Nomaan Butt - 23.03.2022 02:26

great video

Ответить
Ashirwad Sharma
Ashirwad Sharma - 17.10.2021 06:25

git restore is not finding as a command. What would be problem??

Ответить
이건개발
이건개발 - 21.07.2021 06:35

$ git restore .

Ответить
Sanskaar Patni
Sanskaar Patni - 08.04.2021 10:30

This video is so goood! Important stuff af:
I had seen the video when it came out..
But yesterday when I ran into a problem I realized I should see this video again properly

Ответить
Amit Kumar Jena
Amit Kumar Jena - 24.03.2021 14:04

Voila!

Ответить