[Ctk-developers] Update CTK
Steve Pieper
pieper at bwh.harvard.edu
Mon Aug 23 22:17:44 UTC 2010
Hi Jc -
Is this a one-time operation to do the hard reset?
That is, for now we are still following the 'simple git' model describe
here, correct?
http://www.commontk.org/index.php/Build_Instructions#Simple_Git
-Steve
On Aug/23/10 5:48 PM, Jean-Christophe Fillion-Robin wrote:
>
> Hi Folks,
>
> Please, next time you update you repository and before you push any
> changes, make sure you do the following:
>
> git fetch upstream
> git reset --hard refs/remotes/upstream/master
> git pull upstream master
>
> where upstream is the remote identifying the official CTK repository.
>
> The command git config -l should help you to identify what's the remote
> corresponding to the offical CTK.
>
> For example:
>
> $ git config -l
>
> core.repositoryformatversion=0
> core.filemode=true
> core.bare=false
> core.logallrefupdates=true
> remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
> remote.*origin*.url=*git://github.com/commontk/CTK.git
> <http://github.com/commontk/CTK.git>*
> branch.master.remote=origin
> branch.master.merge=refs/heads/master
>
> In that case, *origin* identify the remote.
>
>
> *Why ? *
>
> To fix the history, the last few commits have been re-pushed.
>
> In the future, we will have some hooks that you will be able to install
> in order to avoid any problem ...
>
> Any question, let me know
>
> Thks
> Jc
>
>
>
> --
> Phone: 1-518-836-2174
> Ext: 304
>
>
>
> _______________________________________________
> Ctk-developers mailing list
> Ctk-developers at commontk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
More information about the Ctk-developers
mailing list