Contributing
Contributions to the project can be in form of issue submissions, feature requests, writing code , and documentation
Issues and feature requests should be submitted at the project's Github issue page. Code submissions and documentation should be submitted through Git pull requests(PRs)
How to submit PRs
Setting up
- Create github account at https://www.github.com
- Fork the https://github.com/bodastage/bts-ce-lite repository
- Clone your forked repo locally
bash git clone url_to_repo
- Add origin repo to your remotes. This will be used to keep the master branch in sync with the original repo
bash git remote add upstream url_to_original_repo
- Create feature/patch branch
git checkout -b patch_branch
-
Make changes to file
-
Stage the changes
bash git add ./*
- Commit the changes
bash git commit -m "Fix issue ..."
- Push feature/patch to github
bash git push origin patch_branch
- Create pull request(PR). Go to you forked repo and create PR
Submit another chnage
- checkout the master branch
git checkout master
- Pull changes from the original repo’s master to your local master.
bash git fetch upstream
- Merge changes into local master
bash git merge --ff upstream/master
- Create feature/patch branch
bash git checkout -b patch_branch
- Make changes to file and stage the changes
git add ./*
- Commit the changes
git commit -m "Fix issue ..."
- Push feature/patch to github
git push origin patch_branch
- Create PR. Go to you forked repo and create PR