Thank you for your interest in contributing to Gango, the Go-Based Backend Service Framework. We welcome contributions from the community to help improve and enhance the project. By following the guidelines below, you can get started with contributing to Gango.
To contribute to Gango, you'll first need to clone the repository to your local machine. Please follow these steps:
- Git: If you don't already have Git installed, you can download and install it from here.
-
Open your terminal or command prompt.
-
Navigate to the directory where you want to clone the Gango repository.
-
Run the following command to clone the Gango repository:
git clone [email protected]:sepehrsoh/gango.git
-
After cloning the repository, navigate into the Gango directory:
cd gango
-
To keep your local repository in sync with the upstream (main Gango repository), add a remote named "upstream" using the following command:
git remote add upstream [email protected]:sepehrsoh/gango.git
This allows you to fetch the latest changes from the main repository.
Now that you have a local copy of the Gango repository, you can make your contributions. Here are some general steps to follow:
-
Create a new branch for your work to isolate it from the
main
branch. You can name your branch something meaningful to your changes:git checkout -b my-feature
-
Make your changes to the code, documentation, or any other contributions.
-
Commit your changes with a descriptive commit message:
git commit -m "Add feature: description of changes"
-
Push your changes to your fork of the repository on GitHub:
git push origin my-feature
-
Finally, create a pull request (PR) from your branch to the
main
branch of the main Gango repository.
To ensure your fork stays up-to-date with the main repository, periodically fetch changes from the upstream repository and rebase your local main
branch:
git fetch upstream
git checkout main
git rebase upstream/main
This will keep your main
branch current with the latest changes.
We appreciate your interest in contributing to Gango! Your contributions help make Gango better for everyone. If you have any questions or need assistance with your contributions, please don't hesitate to ask by opening an issue or reaching out to the maintainers.
Happy contributing!