From: Michael Shigorin <mike@osdn.org.ua> To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org> Subject: Re: [newbies] Путь пакета в бранч Date: Tue, 30 Mar 2010 23:54:40 +0300 Message-ID: <20100330205440.GH24108@osdn.org.ua> (raw) In-Reply-To: <4BAE5489.7070600@gmail.com> On Sat, Mar 27, 2010 at 09:55:05PM +0300, Anton A. Vinogradov wrote: > >>>>Удалить бранч git branch -D M51 > >>>1) _запоротый_ бранч -- если он нормальный, удалять его > >>> совершенно ни к чему, потом придётся тащить с git.alt > >>> (ради наследования); ^^^^^^^^^^^^^^^^^^ ! > >Ну можно из gears и дёрнуть. :) > >git remote add origin git.alt:/gears/p/psi-plus.git Это я глупость сморозил, потом простой git push попытается туда и затолкать -- и обломится. Лучше не "origin" обозвать такой remote, а "gears". То есть целиком: git remote add gears git.alt:/gears/p/psi-plus.git git remote show git remote update и если нужно смержить историю e.g. гитового бранча 5.1 оттуда, то git log gears/5.1 git merge gears/5.1 а если есть теги -- то можно смержить отдельный тег (неважно, "из какого бранча", поскольку всё одно тег ставится на конкретный коммит): git merge 0.15-alt0.r1817.M51.1 либо коммит: git merge 63d41372171f8a4bdc1b3389525f303baa0c229c > собезьянил > arc@arc-laptop ~/Documents/ALTLinux/devel/psi-plus $ git remote add > origin git.alt:/gears/p/psi-plus.git > fatal: remote origin already exists. Если репо произошёл посредством git clone, то прописан тот, откуда склонировано. А заклинило меня на вот какой строчке, с которой содрал: git remote add origin git.alt:packages/psi-plus.git То есть чтоб источником был свой же git.alt repo. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
prev parent reply other threads:[~2010-03-30 20:54 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-01-31 12:22 Anton A. Vinogradov 2010-01-31 13:25 ` Anton A. Vinogradov 2010-02-14 12:45 ` Anton A. Vinogradov 2010-02-14 17:47 ` Anton A. Vinogradov 2010-02-14 17:56 ` Andrey Rahmatullin 2010-02-14 18:24 ` Anton A. Vinogradov 2010-02-14 18:42 ` Michael Shigorin 2010-03-26 18:26 ` Anton A. Vinogradov 2010-03-27 13:26 ` Michael Shigorin 2010-03-27 18:55 ` Anton A. Vinogradov 2010-03-30 14:37 ` Evgeny Sinelnikov 2010-03-30 14:47 ` Anton A. Vinogradov 2010-03-30 14:56 ` Evgeny Sinelnikov 2010-03-30 15:07 ` Anton A. Vinogradov 2010-03-30 15:24 ` Evgeny Sinelnikov 2010-03-30 20:54 ` Michael Shigorin [this message]
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=20100330205440.GH24108@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=devel-newbies@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
devel@ where you _can_ ask This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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 devel-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \ devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com public-inbox-index devel-newbies Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies AGPL code for this site: git clone https://public-inbox.org/public-inbox.git