Skip to content

Git branches and team work

Kai Xu edited this page Jun 1, 2018 · 6 revisions

(Out-dated now)

There are two branches: master and rebuild.

The 'master' is the old version of SenseMap. It is available from the Chrome app shop. We are not working on it anymore, as we decided to rebuild it.

The 'rebuild' is the branch everyone is working on. It currently has a minimal set of functions to make the test and architectural change a bit easier.

Ideally, everyone should have his/her own branch off 'rebuild', such as the 'Shahzaib' (called 'rebuild-shaz' in the repository) and 'Ameesha' in the figure below, and then merge back to the 'rebuild' when the changes are completed.

git individual branch

The detailed workflow (as recommended by github). The github help page has links to how to do each of these steps.

  1. Create a branch from the repository.
  2. Create, edit, rename, move, or delete files.
  3. Send a pull request from your branch with your proposed changes to kick off a discussion.
  4. Make changes on your branch as needed. Your pull request will update automatically.
  5. Merge the pull request once the branch is ready to be merged.
  6. Tidy up your branches using the delete button in the pull request or on the branches page.
Clone this wiki locally