Welcome to Formation-Absent! We're thrilled that you're interested in contributing. Before getting started, please take a moment to review this guide to understand how you can contribute to our project effectively.
- Navigate to the original repository.
- Click on the Fork button in the upper right corner to create a copy of the repository in your GitHub account.
-
Clone the forked repository to your local machine by running the following command in your terminal:
git clone https://github.com/GameSphere-MultiPlayer/Formation-Absent.git
-
Add a remote upstream to the original repository by running the following command in your terminal:
git remote add upstream https://github.com/GameSphere-MultiPlayer/Formation-Absent.git
-
Check the remotes for this repository.
git remote -v
-
Always take a pull from the upstream repository to your master branch to keep it at par with the main project (updated repository).
git pull upstream main
-
Create a new branch for your changes by running the following command in your terminal:
git checkout -b <your-branch-name>
- Ensure that your code adheres to the project's coding standards and conventions.
- Write clear and concise code that is easy to understand and maintain.
- Include comments in your code to explain complex sections or logic.
- Use descriptive variable and function names to make the code self-explanatory.
- Test your changes locally to ensure they work as expected.
- Run any relevant tests provided in the project to verify that your changes haven't introduced any regressions.
- Before creating a pull request, thoroughly test your changes in a staging environment if possible.
- Make sure your changes don't break existing functionality and that they fulfill the intended purpose.
-
Commit your changes with a descriptive message by running the following command in your terminal:
git commit -m "<your-commit-message>"
-
Push your changes to your forked repository by running the following command in your terminal:
git push origin <your-branch-name>
- Navigate to your forked repository on GitHub.
- Click on the Compare & pull request button next to your branch.
- Review your changes and provide a title and description for your pull request.
- Click on the Create pull request button to submit your pull request.
- Open GitHub Desktop and log in to your GitHub account.
- Ensure you're on the correct branch and commit your changes.
- Push your changes to your forked repository.
- Navigate to your forked repository on the GitHub website and click on the Compare & pull request button.
- Review your changes and provide a title and description for your pull request.
- Click on the Create pull request button to submit your pull request.
Please ensure that you abide by our Code of Conduct during your interactions within our community.
If you need any assistance or have questions, feel free to reach out to one of the project maintainers. You can also join our Discord server for real-time communication and support.
Thank you for considering contributing to Formation-Absent! Your efforts help make this project better for everyone. We appreciate your time, dedication, and passion for open source collaboration.