-
Notifications
You must be signed in to change notification settings - Fork 19
2. How to Contribute
-
Pull the latest version of
developmentbranch locally by using the following commands:Fetch the remote branches from github:
git fetchOn terminal, switch to the
developmentbranch locally using the command:git switch developmentPull the latest changes from remote
developmentbranch locally:git pull -
Once the latest version of
developmentbranch 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-releasegit push --set-upstream origin dev/jasmeen/legacy-release -
Prefixing the branch name with
dev/jasmeenmight be used as an indicator that this needs to merged in thedevelopmentbranch 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
developmentbranch into your branch, using the command:git pull origin developmentThis would make sure that the local branch
dev/jasmeen/legacy-releaseis always in sync with the latest changes in the remotedevelopmentbranch. -
Once the changes on the local branch
dev/jasmeen/legacy-releaseis ready to be integrated with thedevelopmentbranch, create a pull request on github by changing thebasetodevelopment. (Please find the below screenshot). This would create a pr on thedevelopmentbranch.
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