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

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
> 

Reply via email to