Software Engineering
  • Contribution Workflow for Engineers
  • Collabo Community on Discord
  • PROJECT LOCAL DEVELOPMENT INSTRUCTIONS
    • Blocks Assistant (Javascript)
    • Blocks Assistant (Dart & Flutter)
    • Building Blocks
    • Collabocate (Javascript)
    • Collabocate (Flutter)
    • Collabo Community App
Powered by GitBook
On this page
  • Git workflow: Fork and Clone repository
  • Installing dependencies and running the project locally
  • Git workflow: Create new branch to make your changes in
  • Git workflow: Add, commit and push changes to remote

Was this helpful?

Edit on GitHub

Contribution Workflow for Engineers

COLLABO COMMUNITY'S ENGINEERING CONTRIBUTION WORKFLOW

NextBlocks Assistant (Javascript)

Last updated 6 months ago

Was this helpful?


Git workflow: Fork and Clone repository

Step 1: Head over to the the repository URL i.e. (the Collabo Community's) GitHub repository for that project.

Get the repository URL link to the GitHub repository for a project from Project local development instructions, through the sidebar.

Step 2: Fork the repository. Then clone the forked repository unto your local computer. Clone URL options explained below:

  • HTTPS url option: If you are using https clone url, the clone command with your url will look like this:

git clone https://github.com/your-github-user-name-here-instead/the-repo-name.git
  • SSH url option: incase you wish to be able to work with SSH url for git operations (that is, if you have not set it up before). If you are using SSH clone url, the clone command with your url will look like this: git@github.com:

git clone git@github.com:your-github-user-name-here-instead/the-repo-name.git

You can get the url to clone the project with, through the green code button in the repository on Github as shown below in the screenshot.


Installing dependencies and running the project locally

Every project may have different instructions for how to install dependencies and how to run the project locally. See Project local development instructions from the sidebar of this documentation page to get specific instructions for that project.


Git workflow: Create new branch to make your changes in

Except you are requested to create your branch from another branch, always create your new branch from the develop branch:

git checkout develop

Create your branch using the our branch naming convention:

git checkout -b @GH-replaceThisPartWithYourGitHubIssueTicketNumber

For example, if your issue ticket number is 62 on GitHub, you would create the branch like so:

git checkout -b @GH-62

@GH simply means the issue ticket is on GitHub. Making use of the ticket's issue number in the branch name, makes it easy to identify and associate the fix you are submitting to the issue ticket.


Git workflow: Add, commit and push changes to remote

Make the desired changes you wish to submit to the project, add, commit and push your changes:

git add .
git commit -m "replace this part with a commit message that describes your changes"
git push origin replace-this-part-with-the-name-of-your-branch

Then send a pull request. See page below for the guidelines for submitting pull requests to any repository:


See GitHub documentation for SSH configuration
Pull Request Guidelines
Position of the Green Code button and the popup to copy URL on GitHub