ksaitoの日記

日々試したことの覚え書き

2018-02-20から1日間の記事一覧

git commitできない

なぜだか、2つ以上のファイルをコミットしようとすると下記のようなエラーが出ます... $ git commit fatal: ambiguous argument 'Makefile README.md': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like…

git fsckでdanglingが出る場合の対処

git fsckでdanglingが出る場合の対処です。 全て消したい場合は、下記を実行します。 git reflog expire --expire=now --all git gc --prune=now