Forgot to Switch Branches? Bring your Git Changes from Wrong Branch

preview_player
Показать описание
In this video I will show you how to rename your default master branch to something else. Additionally you will learn what not to forget when you did the actual rename.

In this example the new name is going to be main, but it could be any another name as well. I will show you how to rename your branch through terminal commands and not just GitHub. That way you know how to do it for all git providers.

🔗 Links

⏱ Timestamps
0:00 Intro
0:39 Git Repo Outline
1:27 Making a Change
2:15 Creating a Branch with GitHub Desktop
4:10 Open a PR on GitHub
4:22 Making Changes on the Wrong Branch
5:35 Moving Your Changes to The Right Branch with GitHub Desktop
8:55 Making Changes on the Wrong Branch
9:20 Moving Your Changes to The Right Branch with the Terminal
12:43 Outro

🙋‍♂️ Also find my...
Рекомендации по теме
Комментарии
Автор

Do you ever forget to switch the branch and not sure how to git out? Here you go... Any other Git scenarios that you'd like to see?

jfversluis
Автор

Hey, man, Thank you for the video, very helpfull.

davimendes
Автор

Hi @Gerald, I have one doubt can you please tell me what is the minimum Android sdk version we can upload in google play store ?

raffimansoor