From the course: Git Essential Training

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Solution: Create a branch and a pull request

Solution: Create a branch and a pull request

From the course: Git Essential Training

Solution: Create a branch and a pull request

(upbeat music) - [Instructor] So, how did the challenge go? Let's walk through it together. First, we created a branch, git branch joke. Don't forget to check out the branch, checkout joke. We now create a new foul called joke.md and we write a funny joke in there. With that, we'll use git add . to add everything. And now we commit. I'll use git push. And now I get the command that I need to make sure that this branch also exists in the remote repository. I push again to check if it actually has worked, and we go back to our web interface to see that our branch has been created. We now create a pull request. We can do this straight from here, so let's do that. And in this screen, we see we are able to merge this. You can add the description yourself and then create the pull request. And here we can view what has actually changed. We check which files have been changed, and with this, we are able to go to the conversation and merge this pull request. Confirm, and now we are done. If…

Contents