Forgot to Switch Branches? Bring your Git Changes from Wrong Branch
Автор: Gerald Versluis
Загружено: 2020-10-13
Просмотров: 9964
Описание:
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.
🛑 Don't forget to subscribe to my channel for more cool content: https://www.youtube.com/GeraldVerslui...
🔗 Links
Stack Overflow Q&A: https://stackoverflow.com/questions/5...
GitHub Desktop: https://docs.github.com/desktop
GitHub Branches: https://docs.github.com/github/collab...
Save Your Behind Git Scenarios (NSFW): https://ohshitgit.com/
Save Your Behind Git Scenarios (SFW): https://dangitgit.com/
⏱ 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
🎥 Video edited with Camtasia (ref): https://techsmith.z6rjha.net/AJoeD
🙋♂️ Also find my...
Blog: https://blog.verslu.is
Twitch: / jfversluis
All the rest: https://jfversluis.dev
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: