-
Notifications
You must be signed in to change notification settings - Fork 12
2. How to Contribute
-
Pull the latest version of
development
branch locally by using the following commands:Fetch the remote branches from github:
git fetch
On terminal, switch to the
development
branch locally using the command:git switch development
Pull the latest changes from remote
development
branch locally:git pull
-
Once the latest version of
development
branch is pulled locally, use the following two commands to create the new branch and push it to github respectively:git checkout -b dev/jasmeen/legacy-release
git push --set-upstream origin dev/jasmeen/legacy-release
-
Prefixing the branch name with
dev/jasmeen
might be used as an indicator that this needs to merged in thedevelopment
branch of access-hive (staging branch deployed on https://access-hive.org.au/development_site/), and not the main branch. -
Work locally on the branch
dev/jasmeen/legacy-release
, and push the commits using the commands:git add .
git commit -m "First commit"
git push
-
While working locally on the branch, please make sure to regularly pull changes from remote
development
branch into your branch, using the command:git pull origin development
This would make sure that the local branch
dev/jasmeen/legacy-release
is always in sync with the latest changes in the remotedevelopment
branch. -
Once the changes on the local branch
dev/jasmeen/legacy-release
is ready to be integrated with thedevelopment
branch, create a pull request on github by changing thebase
todevelopment
. (Please find the below screenshot). This would create a pr on thedevelopment
branch.
ACCESS-Hive dev website - https://access-hive.org.au/development_site/
ACCESS-HIVE docs SharePoint - https://anu365.sharepoint.com/:w:/s/ACCESS-NRI/EawQ3lx_A-5JrJgtGT1CD2gBFU51LnD5w5TiAUfDvU4pkw?e=RdWQ4l