Mona/Git/tmp


やりたいこと

http://monaos.git.sourceforge.net/git/gitweb.cgi?p=monaos/monaos;a=summary のページの最下部 付近にsvn の tags 以下の svn ブランチが列挙される事。

表示されている例→ http://ipscan.git.sourceforge.net/git/gitweb.cgi?p=ipscan/ipscan;a=summary

やった事

% tar zvxf ../git2.tar.gz # git svn clone の結果を展開
% cd git2/monaos
% git branch
  * master
% git branch -r
  contrib-fast-gui
  contrib-fast-gui@3117
  contrib-fast-gui@3501
  contrib-stdio
  contrib-stdio@3117
  ...
% git config user.name "higepon"
% git config user.email "higepon@users.sourceforge.jp"
% git remote add origin ssh://higepon@monaos.git.sourceforge.net/gitroot/monaos/monaos
% git config branch.master.remote origin
% git config branch.master.merge refs/heads/master
% for remote in `git branch -r `; do git branch --track $remote; done
  Branch contrib-fast-gui set up to track local branch master.
  Branch contrib-fast-gui@3117 set up to track local branch master.
  Branch contrib-fast-gui@3501 set up to track local branch master
  ...
% cd .git/refs
% rm -rf heads
% cp -r remotes heads
% cd ../..
# あれ変わってない?
% git branch
  * master
% git branch -r
  contrib-fast-gui
  contrib-fast-gui@3117
  contrib-fast-gui@3501
  contrib-stdio
  contrib-stdio@3117
  ...
% git push --all
  Counting objects: 49333, done.
  Delta compression using up to 2 threads.
  Compressing objects: 100% (13111/13111), done.
  Writing objects: 100% (49333/49333), 34.86 MiB | 1.39 MiB/s, done.
  Total 49333 (delta 36019), reused 48869 (delta 35676)
  To ssh://higepon@monaos.git.sourceforge.net/gitroot/monaos/monaos
   * [new branch]      master -> master
 % git push --tags
  Everything up-to-date
 # この時点で上記 URL にタグは見えない
 # だめ押しで mirror
 % git push --mirror
   Counting objects: 32813, done.
   Delta compression using up to 2 threads.
   Compressing objects: 100% (12447/12447), done.
   Writing objects: 100% (32457/32457), 17.05 MiB | 842 KiB/s, done.
   Total 32457 (delta 22357), reused 28492 (delta 19664)
   To ssh://higepon@monaos.git.sourceforge.net/gitroot/monaos/monaos
    * [new branch]      contrib-fast-gui -> contrib-fast-gui
    * [new branch]      contrib-fast-gui@3117 -> contrib-fast-gui@3117
    * [new branch]      contrib-fast-gui@3501 -> contrib-fast-gui@3501
    * [new branch]      contrib-stdio -> contrib-stdio
    * [new branch]      contrib-stdio@3117 -> contrib-stdio@3117
    * [new branch]      contrib-stdio@3644 -> contrib-stdio@3644
    * [new branch]      experimental -> experimental
    * [new branch]      experimental@4369 -> experimental@4369
    * [new branch]      good_audio -> good_audio
    ...
   # これでも上記 URL にタグは現れない

MENU

now: 1

リンク


最新の20件
2018-09-03 2018-05-09 2017-09-29 2017-01-10 2016-12-11 2016-10-04 2016-08-14 2016-06-05 2016-05-29 2016-04-15 2015-12-28 2013-02-25 2013-02-21 2013-02-20 2013-02-12 2013-02-11 2013-02-10
最新の20件
2010-02-01 2010-01-31 2010-01-30 2010-01-29 2010-01-16

Counter: 1526, today: 1, yesterday: 0

リロード   新規 編集 凍結 差分 添付 複製 改名   トップ 一覧 検索 最終更新 バックアップ   ヘルプ   最終更新のRSS

Last-modified: 2009-11-18 (水) 21:05:16 (3231d);  Modified by mona
PukiWiki 1.4.6 Copyright © 2001-2005 PukiWiki Developers Team. License is GPL.
Based on "PukiWiki" 1.3 by yu-ji
Powered by PHP 5.2.17
HTML convert time to 0.013 sec.