slowjet

is a part of a carburetor

2012-04-11

夜フクロウでGrowl通知が常にデフォルトになる

いつの頃からか全然覚えてないけど、そうなっててなんとかならんのかなーと思って。Lionになったタイミングからかなぁ。。

とりあえず

http://d.hatena.ne.jp/Hoshi-KN/20111126/1322319437

これ試してみたけど、だめで、そういえばGrowlが1.2.2だったから、いい機会だと思って170円の1.3.3をAppStoreで買って、もう一回試したらどうやら直った。うーむ 

2012-03-15

gitのpushがrejectされた

git

pushしたらなんかエラーが出てpushできない

$ git push origin [remote branch]
! [rejected]        [branch] -> [remote branch] (non-fast-forward)
error: failed to push some refs to 'git@reposicoty.git'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again.  See the
'Note about fast-forwards' section of 'git push --help' for details.

色々調べたけど解決しないし時間ないからbranchもういっこ切ってそっちにmergeしてからpushしたんだけど、うっかりそのままbranch切ったら

$ git branch [branch2]
warning: refname '[branch]' is ambiguous.
fatal: Ambiguous object name: '[branch]'.

じゃなくて

$ git checkout master
$ git branch [branch2]
$ git merge [branch]
$ git push origin [remote branch]

これで解決した