hns - 日記自動生成システム - Version 2.19.9

先月 2013年06月 来月
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2013年06月05日(水) 旧暦 [n年日記] [更新:"2013/07/01 11:12:47"]

#1 [失敗] 二つの上書き

きょうは二つの失敗をした。

zip は上書き:

一度作った zip 形式に余分なものが入っていたので、それを消そうと思って 作っても、消えない。変だなと思っていたら、上書きしていた。zip は、 同じ名前を作ると、置換えでなくて、更新(追加)になるので、これでは消えなかった。

bootstrap:

cd pkgtool/bootstrap
./bootstrap --prefix=/usr/pkg_bulk --pkgdbdir=/usr/pkg_bulk/.pkgdbdir
とやった場合に work があると、以前にやっているから消してからやってね、 と終ってしまうけれど、どうも pkgdbdir の方は上書きしてしまう気がする。
(これは勘違いかも知れないけれど)

#2 [Git] 初めての push

きょうは初めて git で push した。
(sourceforge に commit したことはあるような記憶もあるが) push は初めて。
間違っているかも知れないが、一応書いておく
状況としては、手元に .git 以下に作ったものはあるのだけれど --bare で、どこからでも見られるようなものを用意して見たかった、という話。
modena@makoto 10:46:14/130605(/tmp/project)% git remote add modena
usage: git remote add [<options>] <name> <url>

    -f, --fetch           fetch the remote branches
    --tags                import all tags and associated objects when fetching
                          or do not fetch any tag at all (--no-tags)
    -t, --track <branch>  branch(es) to track
    -m, --master <branch>
                          master branch
    --mirror[=<push|fetch>]
                          set up remote as a mirror to push to or fetch from
modena@makoto 10:51:43/130605(/tmp/project)% git remote add modena /export/git-repository
modena@makoto 10:52:04/130605(/tmp/project)% echo git config remote.publish.push '+refs/heads/*:refs/heads/*'
git config remote.publish.push +refs/heads/*:refs/heads/*
modena@makoto 10:52:26/130605(/tmp/project)% git config -l > /tmp/after2                 
modena@makoto 10:52:35/130605(/tmp/project)% diff -u /tmp/before /tmp/after2
--- /tmp/before 2013-06-05 10:36:18.000000000 +0900
+++ /tmp/after2 2013-06-05 10:52:35.000000000 +0900
@@ -7,3 +7,6 @@
 remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
 branch.master.remote=origin
 branch.master.merge=refs/heads/master
+remote.publish.push=+refs/heads/*:refs/heads/*
+remote.modena.url=/export/git-repository
+remote.modena.fetch=+refs/heads/*:refs/remotes/modena/*
modena@makoto 10:52:46/130605(/tmp/project)% git config remote.publish.push '+refs/heads/*:refs/heads/*'
modena@makoto 10:53:17/130605(/tmp/project)% diff -u /tmp/before /tmp/after2                            
--- /tmp/before 2013-06-05 10:36:18.000000000 +0900
+++ /tmp/after2 2013-06-05 10:52:35.000000000 +0900
@@ -7,3 +7,6 @@
 remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
 branch.master.remote=origin
 branch.master.merge=refs/heads/master
+remote.publish.push=+refs/heads/*:refs/heads/*
+remote.modena.url=/export/git-repository
+remote.modena.fetch=+refs/heads/*:refs/remotes/modena/*
modena@makoto 10:53:19/130605(/tmp/project)% git config remote.modena.publish.push '+refs/heads/*:refs/heads/*'
modena@makoto 10:53:38/130605(/tmp/project)% git config -l > /tmp/after2
modena@makoto 10:53:39/130605(/tmp/project)% diff -u /tmp/before /tmp/after2
--- /tmp/before 2013-06-05 10:36:18.000000000 +0900
+++ /tmp/after2 2013-06-05 10:53:39.000000000 +0900
@@ -7,3 +7,7 @@
 remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
 branch.master.remote=origin
 branch.master.merge=refs/heads/master
+remote.publish.push=+refs/heads/*:refs/heads/*
+remote.modena.url=/export/git-repository
+remote.modena.fetch=+refs/heads/*:refs/remotes/modena/*
+remote.modena.publish.push=+refs/heads/*:refs/heads/*
modena@makoto 10:53:42/130605(/tmp/project)% git push origin
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:

  git config --global push.default matching

To squelch this message and adopt the new behavior now, use:

  git config --global push.default simple

See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)

No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
fatal: The remote end hung up unexpectedly
error: failed to push some refs to '/export/git-repository/project'
modena@makoto 10:53:58/130605(/tmp/project)% git push origin master
Counting objects: 52, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (52/52), done.
Writing objects: 100% (52/52), 499.01 KiB, done.
Total 52 (delta 5), reused 0 (delta 0)
To /export/git-repository/project
 * [new branch]      master -> master
modena@makoto 10:54:13/130605(/tmp/project)% 



最近の日記
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
2024年03月10日
停電 (瞬電)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)