fenics team mailing list archive
-
fenics team
-
Mailing list archive
-
Message #02076
Re: Git repositories
On 8 April 2013 15:46, Anders Logg <logg@xxxxxxxxx> wrote:
> The conversion to git is now complete. (Thanks again to Florian for
> helping us out with the scripting!) Here are some initial instructions
> for how to access the new code.
>
> - The new repositories can be found here:
>
> https://bitbucket.org/fenics-project
>
> - The repositories (here DOLFIN) can be cloned by:
>
> git clone https://bitbucket.org/fenics-project/dolfin.git
>
> - Developers with write access should use:
>
> git clone git@xxxxxxxxxxxxx:fenics-project/dolfin.git
>
> - A full 1.2 GB archive of all the repositories, before and after
> conversion, before and after filtering, including all feature
> branches hosted on Launchpad can be downloaded from here:
>
> http://fenicsproject.org/pub/archive/
>
> Developers of feature branches should be able to clone their feature
> branches in git from the above address, push to bitbucket, and make
> pull requests.
>
> - A very good resource for how to use git can be found here:
>
> http://git-scm.com/book
>
> I suggest everyone reads it carefully, at least the first three
> chapters, but here's a very quick git introduction:
>
> 1. Same as hg/bzr with: git add, rm, commit, clone, push, pull, status
>
> 2. Files need to be staged before commit: git add foo, or use commit -a.
>
> 3. The whole bzr mess of needing to merge in a separate directory is
> gone. Just pull (or fetch + merge), commit, push as with hg.
>
> 4. Branches are very light-weight and in-directory, as opposed to
> bzr with one-directory-per-branch.
>
A branch in a directory still works and is superfast (by copying files):
git clone foo bar
To replicate the process used for cloning from a a remote server
(which is slower)
git clone foo file://bar
Garth
> - Work in progress: new mailing list, moving questions to
> stackexchange, closing down Launchpad pages, moving issues,
> downloading copies of tarballs from Launchpad and archive on web
> page. Please comment and contribute.
>
> --
> Anders
>
> _______________________________________________
> Mailing list: https://launchpad.net/~fenics
> Post to : fenics@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~fenics
> More help : https://help.launchpad.net/ListHelp
Follow ups
References