stMind

about Tech, Computer vision and Machine learning

2012-10-22から1日間の記事一覧

initial commit前のgit addを取り消す方法

コミットが一度も行われていない状態では、git addを取り消すためにresetが使えません。 $ git reset HEAD test.txt fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions この…