[petsc-users] Differences between main and release branches?

Satish Balay balay at mcs.anl.gov
Mon Oct 3 10:29:31 CDT 2022


What were the git commands used here [for each of these cases]?

Normally you would checkout a branch - and pull on it. So "cloning 3.17.4" doesn't really make sense - as there is no "3.17.4" branch.

you ether checkout a tag - v3.17.4 - then you don't get a branch to pull on. [sure you can do "git clone -b release" - but that's a branch].

So the statement "3.17.4 gave main branch, 3.18.0 gave release branch" doesn't really make sense to me [from the way git work]

Satish

On Mon, 3 Oct 2022, Jose E. Roman wrote:

> 'main' is the development version, 'release' is the latest release version.
> You can select the branch when cloning or later with git checkout.
> See https://petsc.org/release/install/download/#recommended-download
> 
> Jose
> 
> 
> > El 3 oct 2022, a las 11:08, fujisan <fujisan43 at gmail.com> escribió:
> > 
> > Hi everyone,
> > What are the differences between the 'main' and 'release' branches?
> > 
> > Where I git cloned version 3.17.4, I was by default in the 'main' branch.
> > Where I git cloned version 3.18.0 (I haven't git pulled from 3.17.4 yet), I was by default in the 'release' branch.
> > 
> > Fuji
> 


More information about the petsc-users mailing list