Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 725 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 725 Bytes

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