git

git で特定のブランチへ、pushする

git

ローカルにある、branch2をremote(origin)のbranch1へpushする。 git push origin branch2:branch1

git commit id などを、埋め込んでくれるmaven plugin

git attributes ident とか filter とかで、問題がないならいいのだが、 eclise のegitだと git attributes をサポートしていないようなので(357039 – EGit does not handle .gitattributes ident) javaなら GitHub - git-commit-id/maven-git-commit-id-plu…

egitからgit-daemonへコミットするとき

git

最初は、コマンドラインgitからpushできなくて、 /etc/service/git-daemon/run に --enable=receive-packを追加したら、うまくいったところが egitから、git://のところにコミットしたら "push not permitted" と、なってコミットできなかった。オプションを…

gitとsubversion

忘れないように先にメモ。 あとで続きを書く。 cd /var/lib/git git svn clone -s --prefix=svn/ file:///var/lib/svn/gitsvnrepo_subversion mkdir gitsvnrepo.git cd gitsvnrepo.git git init --bare --shared=true cd .. cd gitsvnrepo_subversion git pu…

eclipseにPydevとegitとyaml editをいれてみる

Eclipseのpython開発用PyDev http://pydev.sf.net/updatesEclipseのgitプラグインであるegitのupdate http://www.jgit.org/update-siteEclipseのyaml editプラグイン http://grupy.net/yamlEditor/

Hudson の gitプラグインを使ってみた。

hudson git pluginをいれてみた。 チェックアウトまではスムーズで、 Repository urlにローカルのディレクトリを書いたらうまくいったかんじ。ただ、tagをうつところで、nameとかがないとエラーがでていた。 /var/lib/hudson/.gitconfig を新たに作って次の…