[devel] git-clone && git-push
Eugene Prokopiev
=?iso-8859-1?q?enp_=CE=C1_altlinux=2Eorg?=
Ср Авг 13 02:08:06 MSD 2008
Здравствуйте!
Задача - склонировать чужой репозитарий и, несколько видоизменив его,
положить к себе на 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
Что я делаю не так?
--
С уважением,
Прокопьев Евгений
Подробная информация о списке рассылки Devel