From 522e9d8ad3e9913847af9247f93ed49047dfd1b1 Mon Sep 17 00:00:00 2001 From: lintao <lintao51@gmail.com> Date: Thu, 17 Sep 2020 13:48:37 +0800 Subject: [PATCH] WIP: update the quickstart according to Xin's comment #38. --- docs/quickstart.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/quickstart.md b/docs/quickstart.md index 5f2de3f2..7f31084b 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -7,12 +7,28 @@ Start the container in lxslc7 (OS: CentOS7): $ /cvmfs/container.ihep.ac.cn/bin/hep_container shell SL6 ``` -## Get code using git +## 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:cepc/CEPCSW.git +$ git clone git@github.com:USERNAME/CEPCSW.git $ cd CEPCSW ``` + +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 +``` + ## Setup and build ``` -- GitLab