It should recognize that you have uncommitted changes to Category.cs. Search for “sign in” and click the option to sign in to GitHub for the pull requests extension.įollow the process to complete the authorization for the extension to integrate with GitHub.
Press Ctrl+Shift+P to open the Command Palette. Select the Extensions tab and search for “github”. The new issue should be created with ID 1, but make a note of the ID in case it’s different. This lab will involve creating a pull request designed to address an issue documented in the project, which we will define before getting started.Ĭreate a new issue for “Change Category.cs” and click Submit new issue. Return to the GitHub browser tab and navigate to your forked repo. Once there, we can create a pull request so that the branch can be merged with the master.
Now we need to commit that change to the new branch and push it to the server. When the Git with GitHub lab ended, we had created a new branch and made a change to some of the code.
#Git create branch from current code#
GitHub and its Visual Studio Code extension provide a rich experience for creating, reviewing, and approving pull requests. Reviewers can step through the proposed changes, leave comments, and vote to approve or reject the code. Pull requests let your team give feedback on changes in feature branches before merging the code into the master branch.