Module: Developers - Patterns & Practices

πŸ“– Working on GitHub projects

Created 5 years ago by Mehmet Ozdemir|

Modified 2 years ago by Gordon Beeming

1. Working on GitHub projects

To work on a repository you need to fork it.

  1. To fork the SSWConsulting project you will be working on click on the Fork button.
Fork a GitHub repository

Figure: Fork a GitHub repository

  1. Next you need to clone the project to your Local Git Repositories in Visual Studio.
Repository URL to be used for cloning

Figure: Repository URL to be used for cloning

Cloning a GitHub repository to your local Git Repository

Figure: Cloning a GitHub repository to your local Git Repository

  1. Make required changes to the code and submit the changes. On your first submit you need to configure your Git Settings and Logon when prompted.
Configuring your GitHub user name and email address

Figure: Configuring your GitHub user name and email address

Enter your GitHub user name and email address

Figure: Enter your GitHub user name and email address

When prompted use your email address to connect to your gitHub Account

Figure: When prompted use your email address to connect to your GitHub Account

  1. Ensure your commit was successful by reviewing your commit on GitHub Verify your commit on GitHub

2. Submit a Pull request request to have changes merged

Up until now, all the changes you have made has been to your local and the remote repository that was forked from the SSW repository. To have your changes merged you need to submit a Pull request.

  1. Click Pull request
Go to Pull requests tab

Figure: Go to Pull requests tab

  1. Click New pull request
Create a new pull request

Figure: Create a new pull request

  1. Review the changes that will be part of the request and click Create pull request
Verify changes that will be included in the pull request

Figure: Verify changes that will be included in the pull request

  1. Enter a comment and click Create pull request
Enter a comment and click Create pull request to create the new request

Figure: Enter a comment and click Create pull request to create the new request