[Insight-developers] git and dashboard
Matthew McCormick (thewtex)
matt at mmmccormick.com
Thu Jul 29 09:01:38 EDT 2010
>
>
> > * what is the oldest possible git version? I have a host running git
> > 1.6.2.5 and it doesn't seem to support the command
>
> I suggest 1.6.5 or higher.
>
> > Should I use the -b option and create the local branch? Would it be
> > updated as expected then?
>
> $ git checkout -b nightly-master origin/nightly-master
>
> Then cat .git/config and ensure this section exists:
>
> [branch "nightly-master"]
> remote = origin
> merge = refs/heads/nightly-master
>
> This tells Git (and ctest) which upstream branch to track.
>
>
I think the behavior is default with '-b' and remote branches with newer
git, but it doesn't hurt to do
$ git checkout --track -b nightly-master origin/nightly-master
The --track option is documented in
$ git help branch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20100729/2adc6df2/attachment.htm>
More information about the Insight-developers
mailing list