[petsc-dev] please fix your bugs in next! error: 'SNESCompositeGetNumber' was not declared in this scope

Jed Brown jed at jedbrown.org
Tue Nov 25 17:20:52 CST 2014


Matthew Knepley <knepley at gmail.com> writes:
> Here is what I put in my config:
>
> [remote "patrick"]
> url = git at bitbucket.org:pefarrell/petsc
> fetch =
> +refs/heads/pefarrell/snes-composite-get-number:refs/remotes/pefarrell/snes-composite-get-number

This is rather complicated/involved if you have a lot of branches.  It's
also hard to remember which branches get updated from where.

> Then I do
>
>   git fetch patrick
>
> and then
>
>   git checkout next
>   git merge pefarrell/snes-composite-get-number
>
> So does your fetch line create a local branch?

Yes, it creates a local branch and then I push that local branch.
-------------- 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/20141125/e0a33ab2/attachment.sig>


More information about the petsc-dev mailing list