Adding freescale Git to local repo

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Adding freescale Git to local repo

1,631 次查看
dilshad_alam
Senior Contributor II

I am trying to add remote freescale git branch to my repo.

Am i missing anything?

dalam@hibllxel04:~/work/workspace/linux3.14$ git remote add imxorigin http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git

dalam@hibllxel04:~/work/workspace/linux3.14$ git fetch imxorigin

error: Unable to get pack index http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/objects/pack/pack-e5f627a361db924bf101d0...

error: Unable to find eee5a08306df7d9b1f23f463c9e9439e04293b57 under http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git

Cannot obtain needed object eee5a08306df7d9b1f23f463c9e9439e04293b57

error: Fetch failed.

标签 (1)
0 项奖励
回复
4 回复数

1,394 次查看
dilshad_alam
Senior Contributor II

My requirement is to take selective commits from freescale rel_imx_3.14.28_1.0.0_ga branch to my gitlab repo.

Can someone guide me steps to do this?

0 项奖励
回复

1,394 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Dilshad Alam,

I meant to use:

$ git remote add imxorigin git://git.freescale.com/imx/linux-2.6-imx.git

Instead of:

$ git remote add imxorigin http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git

Would you please give it a try?

1,393 次查看
dilshad_alam
Senior Contributor II

Hi Gusarambula,

You mean to say

git clone imxorigin ?

0 项奖励
回复

1,394 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Dilshad Alam,

I wasn’t able to fetch either. However, it worked with the clone:

$ git remote add imxorigin git://git.freescale.com/imx/linux-2.6-imx.git

$ git fetch imxorigin

0 项奖励
回复