[petsc-dev] git repo question

Mark Adams mfadams at lbl.gov
Fri Aug 27 18:14:00 CDT 2021


On Fri, Aug 27, 2021 at 11:01 AM Satish Balay <balay at mcs.anl.gov> wrote:

> Perhaps 'git branch --unset-upstream' got invoked somehow?
>
> You can check .git/config to see if you have an entry:
>
> >>>
> [branch "adams/landau-multiple-grids"]
>         remote = origin
>         merge = refs/heads/adams/landau-multiple-grids
> <<<
>
> If not - you can fix by:
>
> git branch -u origin/adams/landau-multiple-grids
>

that worked.

I think I may have forgotten -u and did:

git push origin +adams/landau-multiple-grids

Thanks,
Mark


>
> Satish
>
> On Fri, 27 Aug 2021, Mark Adams wrote:
>
> > I have a branch with and MR in the repo, but my branch does not seem to
> > know it is on origin:
> >
> > (base) 10:42 *adams/landau-multiple-grids* ~/Codes/petsc$ git status
> > On branch adams/landau-multiple-grids
> > Untracked files:
> >   (use "git add <file>..." to include in what will be committed)
> > src/mat/impls/aij/seq/seqcusparse/aijcusparse.cu.bak
> >  ...
> >
> >
> > There is no "=" in the prompt and no, eg, "Your branch is up to date with
> > 'origin/adams/landau-ex2-gpu-paper'."
> >
> > There seems to be something wrong with this branch.
> > Any idea what is wrong?
> >
> > Thanks,
> > Mark
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20210827/96c331f1/attachment.html>


More information about the petsc-dev mailing list