Kapre and Aswang are inviting everyone to their wedding! They would like all the guests to RSVP to their wedding by adding their names to the list of the guests in this repository.
Let Kapre and Aswang know if you can make it to their wedding by following the instructions!
- You are currently signed into your GitHub account
- You have basic familiarity with Markdown
- You have Git (not gitgit) installed on your computer, and it is set up to access your Github account
-
Start by forking the repository to your Github user account by clicking on the Fork button at the top right corner.
-
Clone the forked repository from your Github account onto your local computer. In order to clone, you need the URL of the repository. Click on the
Code
button to access the direct URL of the repository.
Run the following command in your terminal. Replace the address with the address of the forked repository on your GitHub account.
git clone [email protected]:cloudmayaquiz/rsvp-wedding.git
- Change your current directory of the terminal to the directory of the repository.
cd rsvp-wedding
- Create a new branch and name it
rsvp-[yourname]
. Run following command to create the new branch and also change the current working branch of the local repository to the newly created branch.
git checkout -b rsvp-yourname
-
Open the
guests.md
file using your text editor. This is a Markdown table that includes the list of all the guests who have RSVPed to the wedding. Add a new row to the table and include your name and the number of guests coming with you. Save your changes to the file. -
Commit your changes for Git to track. Put a message describing the change for your commit.
git add .
git commit -m "Pangalan ko at kasama ang buong Barangay" (SEE: --set-upstream )
- Push your changes to the forked repository in your GitHub account.
git push
-
On the main page of the repository, you should now see an option to create a pull request. Click on that to create a pull request from the
rsvp-yourname
branch of your forked repository to themain
branch of the original repository. -
Github, by default, puts the message of the latest commit as the title of the pull request. Update the title to something more descriptive of the change. The description of the pull request is already filled with a template message (this template comes from the content of a markdown file at
docs/pull_request_template.md
. If such a file exists, Github uses it as a template for all the pull requests created from a branch to the main branch). Ensure all the requirements outlined in the checkboxes are met.
You now completed the creation of Pull Request! :PR: