ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] git-clone && git-push
@ 2008-08-12 22:08 Eugene Prokopiev
  2008-08-13  3:24 ` Alexey I. Froloff
  2008-08-13  6:46 ` Vladimir V. Kamarzin
  0 siblings, 2 replies; 4+ messages in thread
From: Eugene Prokopiev @ 2008-08-12 22:08 UTC (permalink / raw)
  To: Devel

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

Задача - склонировать чужой репозитарий и, несколько видоизменив его,
положить к себе на 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

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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-13 16:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-12 22:08 [devel] git-clone && git-push Eugene Prokopiev
2008-08-13  3:24 ` Alexey I. Froloff
2008-08-13  6:46 ` Vladimir V. Kamarzin
2008-08-13 16:17   ` Eugene Prokopiev

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