Re: problem with git



On Sat, May 9, 2009 at 1:03 PM, Tirumurti Vasudevan <agnihot3 gmail com> wrote:
>
>
> On Fri, May 8, 2009 at 3:40 AM, Simos Xenitellis
> <simos lists googlemail com> wrote:
>>
>> cd MODULENAME
>> $ git remote rm origin
>> $ git remote add origin -m master -f ssh://MYUSERNAME git gnome org
>> $ git config branch.master.remote origin
>> $ git config branch.master.merge refs/heads/master
>
> ok, this morning i downloaded the file and extracted the entire bunch.
> this evening i ran the commands and submit the output
> ------------
> drtv narayana:~/VCS$ cd brasero
> drtv narayana:~/VCS/brasero$ git remote rm origin
> drtv narayana:~/VCS/brasero$ git remote add origin -m master -f
> ssh://vasudeven git gnome org
> Updating origin
> ssh: Could not resolve hostname : Name or service not known
> fatal: The remote end hung up unexpectedly
> error: Could not fetch origin
> drtv narayana:~/VCS/brasero$

Thanks for trying out the archive at
http://simos.info/pub/GNOME-REPOS.07May09.tar.gz
There has been a discussion at gnome-infrastructure on this issue, and
there are now easier instructions,
http://live.gnome.org/TranslationProject/GitHowTo#head-f7ae4c567cd3e4aa8a76bdcab8264068de68cf23

What you need to do is simply run the command (assuming you are in brasero):

git config remote.origin.url ssh://vasudeven git gnome org/git/brasero

Then, with

git reset --hard

you will get the working copy for 'master', and you can start working.

In order to update your local tree, you run

git pull --rebase

and you get your local brasero tree updated to what is available at
git.gnome.org, in about a few seconds!

The error message you get above means that the command tried to
connect to git.gnome.org while you either did not have an internet
connection, or momentarily the name resolution failed.

Hope this helps,
Simos


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]