Code Contribution
From Buildtools
Branches
In general, we should have always 4 branches in all frontend, backend, webservice and main
- Live branch: the branch with the "old" system before the roll-out (moss.buildtools.com is still using this)
- beta branch: all our "live" systems are currently pointing to beta and therefore anything that will be loaded here should be properly tested
- test branch: This is used by the support team (Karla, Hector, Karla and myself) to test new functionality that is ready to be pushed to the beta system (mainly roll out issues and corrections and bugs from Esteban)
- develop branch: which is the branch we will use for new development (Selections, Dashboard, new Tasks and Users structure,...)
GIT
NOTICE: Use the same structure and folder names always!
Cloning branches
frontend:
- directory name: buildtools_frontend
- new git url: git remote set-url origin git@bitbucket.org:buildtoolscr/buildtools_frontend.git
backend:
- directory name: buildtools_backend
- new git url: git remote set-url origin git@bitbucket.org:buildtoolscr/buildtools_backend.git
webservice:
- directory name: buildtools_webservice
- new git url: git remote set-url origin git@bitbucket.org:buildtoolscr/buildtools_webservice.git
main
- directory name: buildtools_main
- new git url: git remote set-url origin git@bitbucket.org:buildtoolscr/buildtools_main.git
Merges Procedural
- check your branch: git checkout develop
- merge into develop any other branch: git merge --no-ff origin/branchname
- git push origin develop