Community mailing list archives

community@mail.odoo.com

Re: GIT Command to clone odoo 8

by
Landis Arnold
- 06/22/2015 18:34:50
This might also help.
You can also use a "depth" limitation as in the following:

git clone https://github.com/odoo/odoo.git --branch 8.0 --depth=1 $ODOO_DIR

Though I notice I don't hae a Branch Limitation myself so better get on that as well.
--depth-1 cuts the download in half.

Not really good for development but good to make a quicker pull.



From: "Hans Henrik Gabelgaard" <hhg@gabelgaard.org>
To: "Community" <community@mail.odoo.com>
Sent: Monday, June 22, 2015 3:11:36 PM
Subject: Re: GIT Command to clone odoo 8

You need to update your git. It's introduced in 1.7.10

"git clone" learned "--single-branch" option to limit cloning to a
   single branch (surprise!); tags that do not point into the history
   of the branch are not fetched.

In other words: Your git clone will run faster and use less disk space as you don't fetch the entire repo

Regards

Hans Henrik

On Mon, Jun 22, 2015 at 8:42 PM, Pedro Manuel Baeza Romero <pedro.baeza@gmail.com> wrote:
None. I don't even know if that option is a valid one for git.

Regards.

2015-06-22 19:50 GMT+02:00 Yassine Teimi <yteimi01@gmail.com>:
Dear community, 

I've noticed a command used on a tutorial to clone odoo official addons from git : 

git clone https://www.github.com/odoo/odoo --depth 1 --branch 8.0 --single-branch .

The single branch option is unknown

So to clone, I used the commande without the single branch option; What it the impact of it ? will it impact my odoo installation ? 

Thanks.



--

Cordialement

Yassine TEIMI

Consultant & Odoo Project Manager
TEL : +212 6-27 33 30 78

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe