エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
初回のコミットを取り消したいときにはgit update-refを使う - すずけんメモ
gitで間違えて最初のコミットをしてしまった場合の話。コミットに含めたいファイルとかをついうっかり追... gitで間違えて最初のコミットをしてしまった場合の話。コミットに含めたいファイルとかをついうっかり追加してしまった場合の対処法。 この場合、git resetなどで戻ることはできない。git update-refを使おう。 サンプル -> % cd /tmp/; mkdir sample-git; cd sample-git -> % git init Initialized empty Git repository in /private/tmp/sample-git/.git/ -> % git add -> % touch README -> % git status On branch master Initial commit Untracked files: (use "git add <file>..." to include in what will be committe
2015/07/24 リンク