ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Eugene Prokopiev" <enp@altlinux.org>
To: Devel@lists.altlinux.org
Subject: [devel] git-clone && git-push
Date: Wed, 13 Aug 2008 02:08:06 +0400
Message-ID: <f7a739430808121508n6c160934od198a5d8e5b85312@mail.gmail.com> (raw)

Здравствуйте!

Задача - склонировать чужой репозитарий и, несколько видоизменив его,
положить к себе на git.alt:

$ ssh git.alt clone /people/mike/packages/mkimage-profile-server.git
Initialized empty Git repository in
/people/enp/packages/mkimage-profile-server.git/

$ git-clone git.alt:packages/mkimage-profile-server.git
Initialized empty Git repository in /home/enp/git/mkimage-profile-server/.git/
remote: Counting objects: 1310, done.
remote: Compressing objects: 100% (507/507), done.
remote: Total 1310 (delta 728), reused 1310 (delta 728)
Receiving objects: 100% (1310/1310), 1.10 MiB, done.
Resolving deltas: 100% (728/728), done.

$ cd mkimage-profile-server

$ cat > .git/remotes/origin << EOF
URL: git.alt:packages/mkimage-profile-server.git
Push: refs/heads/*:refs/heads/*
Push: refs/remotes/*:refs/remotes/*
Push: refs/tags/*:refs/tags/*
EOF

$ git-push
Everything up-to-date

$ git-branch enp/lite

$ git-checkout enp/lite
Switched to branch "enp/lite"

$ git-push
Everything up-to-date

[ тут много правим ]

$ git-add .

$ git-commit -a
Created commit 5699f62: add server lite
 8 files changed, 264 insertions(+), 8 deletions(-)
 create mode 100644 profiles/lite-base/Makefile.in
 create mode 100755 profiles/lite-base/scripts.d/01-basesystem.manifest
 create mode 100644 profiles/lite-disk/Makefile.in
 create mode 100644 profiles/packages-lists/lite-base
 create mode 100644 profiles/packages-lists/lite-disk
 rewrite profiles/scripts.d/05-copydocs (79%)

$ git-push
Everything up-to-date

Что я делаю не так?

-- 
С уважением,
Прокопьев Евгений

             reply	other threads:[~2008-08-12 22:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12 22:08 Eugene Prokopiev [this message]
2008-08-13  3:24 ` Alexey I. Froloff
2008-08-13  6:46 ` Vladimir V. Kamarzin
2008-08-13 16:17   ` Eugene Prokopiev

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=f7a739430808121508n6c160934od198a5d8e5b85312@mail.gmail.com \
    --to=enp@altlinux.org \
    --cc=Devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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