From: Michael Shigorin <mike@osdn.org.ua> To: devel-newbies@lists.altlinux.org Subject: Re: [newbies] Как обновлять пакеты в git правильно? Date: Thu, 28 Jan 2010 21:53:46 +0200 Message-ID: <20100128195346.GU32022@osdn.org.ua> (raw) In-Reply-To: <4B614877.8070503@yandex.ru> On Thu, Jan 28, 2010 at 11:19:03AM +0300, Радик Юсупов wrote: > По мотивам #22810 > Вытащил из архива сизифа lxde-lxterminal.git и склонировал его > на свой локальный компьютер. Там старая версия lxterminal. Как > обновить ее средствами гит? Возможно ли это? Возможно, примерно так (lxterminal -- название каталога с исходниками): cd ~/tmp wget http://.../текущая-версия.tar.gz cd ~/git/lxde-lxterminal gear-update ~/tmp/текущая-версия.tar.gz lxterminal git status git commit -am 'imported версия tarball' $EDITOR lxde-lxterminal.spec gear-commit -a > [remote "origin"] > fetch = +refs/heads/*:refs/remotes/origin/* > url = git.alt:/archive/l/lxde-lxterminal.git Потом для удобства стоит изменить на git.alt:packages/lxde-lxterminal.git -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2010-01-28 19:53 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-01-28 8:19 Радик Юсупов 2010-01-28 19:53 ` Michael Shigorin [this message] 2010-01-30 10:37 ` Радик Юсупов
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=20100128195346.GU32022@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