[petsc-dev] why is this happening?

Jed Brown jed at jedbrown.org
Thu Oct 1 14:13:12 CDT 2015


Barry Smith <bsmith at mcs.anl.gov> writes:

> $ git fetch
> ~/Src/petsc (master=) 
> $ git checkout dalcinl/petscdraw
> Switched to branch 'dalcinl/petscdraw'

Evidently this branch existed and was not set to track
origin/dalcinl/petscdraw.  I'd have to know how this local branch was
created to explain why it's not tracking the remote branch.  You can
check if they are the same commit, then delete your local branch and
check it out again (which will make it track) or use the command below
to make it track.

> ~/Src/petsc (dalcinl/petscdraw) 
> $ git pull
> There is no tracking information for the current branch.
> Please specify which branch you want to merge with.
> See git-pull(1) for details
>
>     git pull <remote> <branch>
>
> If you wish to set tracking information for this branch you can do so with:
>
>     git branch --set-upstream-to=origin/<branch> dalcinl/petscdraw
>
> ~/Src/petsc (dalcinl/petscdraw)
> $ git branch -a | grep dalcinl/petscdraw
> * dalcinl/petscdraw
>   remotes/origin/dalcinl/petscdraw
> ~/Src/petsc (dalcinl/petscdraw) 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20151001/c3ff29b8/attachment.sig>


More information about the petsc-dev mailing list