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

Gerald Versluis
Gerald Versluis
9.2 هزار بار بازدید - 4 سال پیش - In this video I will
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: youtube.com/GeraldVersluis/?sub_confirmation=1 🔗 Links Stack Overflow Q&A: stackoverflow.com/questions/5964118/git-working-on… GitHub Desktop: docs.github.com/desktop GitHub Branches: docs.github.com/github/collaborating-with-issues-a… Save Your Behind Git Scenarios (NSFW): ohshitgit.com/ Save Your Behind Git Scenarios (SFW): 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): techsmith.z6rjha.net/AJoeD 🙋‍♂️ Also find my... Blog: blog.verslu.is/ Twitch: twitch.tv/jfversluis All the rest: jfversluis.dev/
4 سال پیش در تاریخ 1399/07/22 منتشر شده است.
9,250 بـار بازدید شده
... بیشتر