-
Notifications
You must be signed in to change notification settings - Fork 9
Installation
Jacopo Malvaso edited this page May 23, 2024
·
7 revisions
-
Go to your github and fork the DesyTau/CPinHToTauTau and the uhh-cms/cmsdb repositories.
-
From your workspace do:
git clone https://github.com/jmalvaso/CPinHToTauTau.git
- Go inside CPinHTauTau repository
cd CPinHToTauTau/
and do:
git submodule update --init --recursive
- Then set cmsdb as follow:
cd CPinHToTauTau/modules/cmsdb
git remote remove origin
git remote add desytau https://github.com/DesyTau/cmsdb.git (common repository)
git remote add upstream https://github.com/uhh-cms/cmsdb.git (original repository)
git remote add origin [email protected]:jmalvaso/cmsdb.git (your personal repository)
- Check if everiything is in place by:
git remote -v
You should see something like this:
desytau https://github.com/DesyTau/cmsdb.git (fetch)
desytau https://github.com/DesyTau/cmsdb.git (push)
origin [email protected]:jmalvaso/cmsdb.git (fetch)
origin [email protected]:jmalvaso/cmsdb.git (push)
upstream https://github.com/uhh-cms/cmsdb.git (fetch)
upstream https://github.com/uhh-cms/cmsdb.git (push)
- Besides, you need to pull the current cmsdb version from DesyTau/cmsdb:
git pull desytau master
- Everything should be in a good shape now, go back to your local CPinHToTauTau repository:
cd ../..
and run the setup.sh:
source setup.sh dev
Enjoy your perfectly github-linked local repository :)