Skip to content

cam-digital-hospitals/dighosp_monorepo

Repository files navigation

Digital Hospitals project monorepo

Authors: Yin Chi Chan; Anandarup Mukherjee; Rohit Krishnan
© 2024 Digital Hospitals group, Institute for Manufacturing, University of Cambridge

This repo is to consolidate all subprojects of the Digital Hospital project.

Git config

Add the following to your git config:

git config --global alias.root 'rev-parse --show-toplevel'

Branch protection

The main branch of this monorepo is protected. If you accidentally commit to main you will not be able to git push. To resolve this, execute the following script:

git commit -a -m "Saving my work, just in case"
git branch my-new-branch
git fetch origin
git reset --hard origin/main