Creating a New Branch Remotely
Let's now simulate another common scenario where our colleague creates a new branch for developing a new feature, testing purposes, etc. We'll use another TXT file, which will be committed to our newly created branch:
Let's say our imaginary colleague's name is John and he is currently testing the authentication service used in our app. Using the GitHub interface, we will now create a new branch named john/test
and switch to it:
Now, you have to make sure that you are on the john/test
branch, and then you can upload the authentication.txt
file directly to the repository in the same way as we showed in the previous chapter.
Thanks for your feedback!
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 5
Creating a New Branch Remotely
Swipe to show menu
Let's now simulate another common scenario where our colleague creates a new branch for developing a new feature, testing purposes, etc. We'll use another TXT file, which will be committed to our newly created branch:
Let's say our imaginary colleague's name is John and he is currently testing the authentication service used in our app. Using the GitHub interface, we will now create a new branch named john/test
and switch to it:
Now, you have to make sure that you are on the john/test
branch, and then you can upload the authentication.txt
file directly to the repository in the same way as we showed in the previous chapter.
Thanks for your feedback!