Our project use for contributions. In short, Fork, Create a branch, submit a pull request from that branch.
- Fork the repo
- Clone your fork (your fork will be
origin) - Add a remote named
upstreamto your local cloned repository- Command:
git remote add upstream git@github.com:sevenwestmedia/processes.git - This allows you to push changes to your fork (origin), and pull changes from the main repo (upstream)
- Command:
git checkout mastergit pull upstream master --ff-only- pulls the lastest changes from the main repository into your local mastergit checkout -b task/task-description- ... do work
git commit -m "SEMANTIC RELEASE COMMIT"- see Semantic Release commit format- eg.
fix: Some bug fix,feat: Some feature description,docs(readme): Improved readme. - You can also put an extended description in a multiline commit message on line 3
- eg.
git push -u origin HEAD- This will push your current branch to your fork- Open a pull request from your fork to the main repository (if you navigate to the main repository, GitHub will detect you have pushed a branch and suggest to open a pull request)