Difference: AMC13Git (1 vs. 2)

Revision 223 Feb 2019 - SiqiYuan

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Changed:
<
<

AMC13 Software Git related procedures

>
>

AMC13 Software Development workflow

Overview of the workflow

 
Changed:
<
<
Under development
>
>
The recommended way to make change to the AMC13 software is as follows:
  1. Create a branch in the AMC13 repository
  2. Clone the newly created branch into your local repository
  3. Make changes to your local repository
  4. Push changes to your remote branch
  5. Request a maintainer to merge your branch to the master branch

Create a branch on the main repo

You can do it through the web page:

Simply go to the main repo site: https://gitlab.cern.ch/syuan/amc13 and create a new branch, you will have full write access to this branch.

Then in the command line you can do (skip this step if you already have a local repository)

git clone ssh://git@gitlab.cern.ch:7999/cms-cactus/svn2git/software/boards/amc13.git

To switch to your branch, do:

git checkout -b <branch name> origin/<branch name>

You can also do it from the command line:

The same way to push a local branch to a remote branch. If the remote branch name does not exist, it will create a new one.

git push origin <new branch name>

Modify your local repository

Modify the files as you wish. If you created new files or directories, use

  -- Siqi Yuan - 22 Feb 2019

Revision 122 Feb 2019 - SiqiYuan

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="HcalDTC"

AMC13 Software Git related procedures

Under development

-- Siqi Yuan - 22 Feb 2019

Comments

<--/commentPlugin-->
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback