- Clone a GitHub repository using GitHub Desktop.
- Edit the README.md file.
- Commit changes to the local repository.
- Create a new branch.
- Use a pull request to update the main repository.
- GitHub Desktop installed.
- GitHub account linked to GitHub Desktop.
- Access to the GitHub repository called Guildlines-in-Lab.
- Open GitHub Desktop.
- Click on File > Clone Repository.
- Under the URL tab, enter the URL of the Guildlines-in-Lab repository.
- Choose a local path to store the cloned repository and click Clone.
- In GitHub Desktop, click on the Current Branch dropdown at the top of the window.
- Select New Branch.
- Name your new branch, for example, update-readme, and click Create Branch.
- In the local repository folder, open the README.md file in a text editor.
- Add a short description about the purpose of this repository or a fun fact about your lab.
- Save the changes. Note: Empty folder won't trigger status update.
- Go back to GitHub Desktop.
- In the Changes tab, you will see the modified README.md file.
- Add a summary for the commit, like “Added a description to README.md”.
- Click Commit to update-readme.
- Click Publish Branch to push the new branch to GitHub.
- In GitHub Desktop, click on Create Pull Request.
- This will open a browser window where you can see the pull request form on GitHub.
- Add a title and description for the pull request, explaining the changes you made.
- Click Create Pull Request.
- Edit Name to ID: Please upload a md file called Your_Name.md include:
- Your name & your GitHub ID
- Some information you'd like to share with the world.
- Review: Make sure each crewmate has completed these steps successfully.
This guide helps crewmates become familiar with:
- Creating branches for new work.
- Using pull requests to add changes.
- Reviewing and merging changes in GitHub.
Reference: