2.2 KiB
Easy-RSA 3 Github Contributions Documentation
This document explains how to contribute to Easy-RSA 3.
Please follow these simple rules and make contributing easier.
Intended audience: Everyone.
Contributing Guide
-
Do not edit Easy-RSA
masterbranch. -
Do not edit Easy-RSA
masterbranch.PRs submitted from
masterbranch may be be squashed or rejected. -
Create a new branch:
Select a suitable name for the new branch. eg:
typo-doc-contribgit checkout -b typo-doc-contrib -
Make changes to the new branch.
Please use tabs to indent the code but only use tabs at the beginning of the line.
-
Review the changes:
git diff -
Stage the changes:
git add -A -
Show the extent of the changes:
git status -v -
Commit the changes:
git commit -sSgithub
helphas details of creating a private key.Using github
no-replyemail address is suitable for theSigned-off-by:line. -
Push the changes:
git push origin typo-doc-contrib -
Share the changes:
Raise a Pull Request on github.
Keeping your fork syncronised
-
Configure the upstream remote for your fork:
git remote add upstream https://github.com/OpenVPN/easy-rsa.git -
Verify the remote sources:
git remote -vOrigin will have your repository:
origin https://github.com/TinCanTech/easy-rsa.git (fetch) origin https://github.com/TinCanTech/easy-rsa.git (push)Remote
upstreamwill beOpenvpn/easy-rsa:upstream https://github.com/Openvpn/easy-rsa.git (fetch) upstream https://github.com/Openvpn/easy-rsa.git (push) -
Syncronising your fork:
Select
masterbranch:git checkout master -
Fetch changes in
upstream:git fetch upstream -
Merge changes in
upstream:git merge upstream/master -
Update your fork on github:
git pushYour fork is now syncronised.