Contributions are always welcome, no matter how large or small!
We want this community to be friendly and respectful to each other. Please follow it in all your interactions with the project. Before contributing, please read the code of conduct.
Before you begin working on anything, make sure you follow these steps in order to set up a clone on your local machine:
-
Clone the repo in your local environment. If you don't know how to do so, follow the GitHub documentation on how to fork a repo.
-
Clone the forked repo to your local machine with one of the commands below. You can also read the GitHub documentation on cloning a repository.
# If you have SSH set up with Git: git clone git@github.com:nativeflowteam/nativeflowcss.git # Otherwise for HTTPS: git clone https://github.com/nativeflowteam/nativeflowcss.git
-
cdinto the directory of your local clone, remember to always pull themainbranch before you branch out from it to continue working on other sections' respective branches.
Once you have the repo cloned, and the local environment has been set, you can begin working on your issue:
-
Create a new branch, replacing the
<your branch name>with an actual branch name that briefly explains the purpose of the branch in some way:git checkout -b <your branch name> # Some examples: git checkout -b docs_update git checkout -b shadow_nits git checkout -b size_value_update
-
Add commits as you work on your issue, replacing the
<your commit message>text with your actual commit message:git commit -m "<your commit message>" -m "<optional brief explanation about your commit>" # An example: git commit -m "Update README file" -m "Add how-to build from source"
-
Sync your local environment every often so that you don't lose on any newer progress.
-
Push your branch to our repo, replacing the
<your branch name>with the branch you've been working on locally:git push origin <your branch name> # An example: git push origin size_fix
-
After pushing your changes, go to our repo on GitHub and click the "Compare & pull request" button. If you have multiple of these buttons, be sure you click the one for the correct branch.
-
Fill the PR template summarising all new additions to your repositories, don't directly merge without a review by maintainers.
-
After your PR has been merged, delete it on the repo, just below the merged notification in the PR, there's an option to delete it, also delete that branch in your local environment and checkout to main to pull the updates.
git branch -D branch_name git checkout main && git pull # pull only works if you synced your fork with main repo
Thanks for contributing to our repo, Happy Coding <3 !

