-
To begin the exercise, sign into the account you made in the previous exercise on GitHub.
-
Fork the repository at mrsd-practice-git to your own account
-
Install
giton your local machine -
Clone your forked repository to your local development machine by running:
git clone https://github.com/RoboticsKnowledgebase/mrsd-practice-git
-
Create a new local branch based off
mainbranchgit checkout -b new-branch-name
-
Open the
contributors.mdfile using your favorite text editor, and adding your name and GitHub username in a new lineJohn Doelan (johndoe) -
Stage and commit your changes
git add contributors.md git commit -m "Add johndoe to contributors list" -
Push changes to your repository on GitHub
git push origin new-branch-name
-
Raise a pull request against this repository requesting to pull changes from your new branch into the
mainbranch -
Wait for the pull request to be reviewed, make any changes suggested by the repository maintainer and wait for the pull request to be merged.