This project aims to ease the booking of event centre. To contribute, follow the steps below.
This will create a local copy of the repository in your GitHub account
Now clone the forked repository to your machine. Go to your GitHub account, open the forked repository, click on the code button and then click the copy to clipboard icon.
Open a terminal and run the following git command:
git clone <url-you-copied>
where <url-you-copied>
is the url to this repository (your fork of this project). See the previous steps to obtain the url.
For example:
git clone https://github.com/olakayCoder1/eventloop.git
Change into the repository directory on your computer (if you are not already there):
cd eventloop
Keep a reference to the original project by entering the following command:
git remote add upstream https://github.com/olakayCoder1/eventloop.git
Create a new branch that describes the changes that you're going to make. For example, to create a branch named "authentication-implementation", enter the following command:
git branch authentication-implementation
Switch to the branch by entering git checkout <name-of-branch>
. For our example, the command will be:
git checkout authentication-implementation
Push your changes using the command git push
:
git push origin -u <your-branch-name>
replacing <add-your-branch-name>
with the name of the branch you created earlier.
As per our example, the command will be:
git push origin -u authentication-implementation
Open your forked repository on GitHub. Click on the Compare & pull request
button.
Create a pull request
And that's it! Your Pull Request has been submitted! You will get a notification email once the changes have been merged.
Please read further if you have any conflicts or your pull request refuses to go through.
A note on resolving merge conflicts
Read the GitHub docs about resolving merge conflicts here.
To avoid fixing merge conflicts, all changes made will have to be discarded.
To get started, sync your forked repository by going to the GitHub page, then click the sync fork
button.
Next, discard your commits.
Then make a fresh clone of your newly synced repository and follow the steps from Clone the repository.