Newer
Older
## Start development environment in a Singularity Container
Start the container in lxslc7 (OS: CentOS7):
```
$ /cvmfs/container.ihep.ac.cn/bin/hep_container shell SL6
```
## Manage code using git
Fork the CEPCSW into your own repo. For an example:
* https://github.com/*USERNAME*/CEPCSW
Get the source code from your own repo:
$ git clone git@github.com:USERNAME/CEPCSW.git
Add the upstream repo:
```
$ git remote add cepc https://github.com/cepc/CEPCSW.git
```
Sync and merge the upstream repo:
```
$ git remote update
$ git merge cepc/master
```