べんり
$ python -m SimpleHTTPServer 8080
べんり
$ python -m SimpleHTTPServer 8080
いつの頃からか全然覚えてないけど、そうなっててなんとかならんのかなーと思って。Lionになったタイミングからかなぁ。。
とりあえず
http://d.hatena.ne.jp/Hoshi-KN/20111126/1322319437
これ試してみたけど、だめで、そういえばGrowlが1.2.2だったから、いい機会だと思って170円の1.3.3をAppStoreで買って、もう一回試したらどうやら直った。うーむ
http://zx.jpn.org/b/20081025/155/vim/vim-mluti-file-replace
:args *.html :argdo %s/hoge/fuga/g | update
:args hogeでとってきたファイルは:argsで確認できる
なるほど・・・
app.set('view options', {
layout: false
});
$ git revert #comimt_id
で該当コミットまで戻って
$ git checkout $files
でrmしたファイルを取り戻す
あとは
$ git add -A $ git push
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]
これで解決した
$ git rebase --abort