ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Vladimir Lettiev <thecrux@gmail.com>
To: gBopHuk_alt <gbophuk_alt@mail.ru>
Cc: Сизиф <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] gearrepo + git + 2 машины - Совсем запутался
Date: Tue, 16 Jul 2013 21:45:11 +0400
Message-ID: <20130716174511.GA10886@mail.truecrux.org> (raw)
In-Reply-To: <1373993033.8089.4.camel@localhost.localdomain>

On Tue, Jul 16, 2013 at 08:43:53PM +0400, gBopHuk_alt wrote:
> В Втр, 16/07/2013 в 12:24 +0400, Vladimir Lettiev пишет:
> > On Tue, Jul 16, 2013 at 11:46:23AM +0400, gBopHuk_alt wrote:
> > > Раньше пользовался gearrepo только с одного компьютера , на днях решил
> > > задействовать ещё один. Скопировал папку .ssh со старого компьютера на
> > > новый - вроде всё работает, репозитории создаются , сборка проходит, но
> > > я могу push'ать только в репозитории созданные на текущем компьютере.
> > > 
> > > Ошибка выскакивает о том что не существует удалённый репозитрий,
> > > но в git remote он существует , правда там ещё и origin есть.
> > > 
> > > В общем я запутался =((( Хотелось бы оперировать над репозитриями с 2-х
> > > машин.
> > > 
> > > Ещё git global username на машинах разный
> > 
> > Покажите вывод `git remote -v` в репозитории, который не push'иться и
> > сам вывод при `git push ...`?
> > 
> 
> git remote -v
> 
> gr	gr:master(fetch)
> gr	gr:master(push)
> origin git://git.truecrux.org/gr/gBopHuk/luakit (fetch)
> origin git://git.truecrux.org/gr/gBopHuk/luakit (push)
> 
> git push
> fatal: Could not read from remote repository.
> Please make sure you have the correct access rights
> and the repository exist.

по-умолчанию `git push` будет отправлять в origin, который read-only.
Надо уточнить куда пушить: 

    git push gr

и можно добавить ключ '-u', чтобы дальше по-умолчанию использовался 'gr'.

-- 
Vladimir Lettiev aka crux ✉ theCrux@gmail.com


  reply	other threads:[~2013-07-16 17:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-16  7:46 gBopHuk_alt
2013-07-16  8:24 ` Vladimir Lettiev
2013-07-16 16:43   ` gBopHuk_alt
2013-07-16 17:45     ` Vladimir Lettiev [this message]
2013-07-16 18:26       ` gBopHuk_alt
2013-07-17  4:47         ` Vladimir Lettiev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130716174511.GA10886@mail.truecrux.org \
    --to=thecrux@gmail.com \
    --cc=gbophuk_alt@mail.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git