ログイン
新規登録
コース一覧
作品
有料プラン
Git/GitHub
変更をやり直そう
プラス
restore・unstage・revert・reset・reflog・merge --abort を使い分け、失敗しても戻せる状態を作ります。
Git
学べること一覧
git restore で変更を捨てよう
プラス
add を取り消そう
プラス
revert で変更を打ち消そう
プラス
reset で履歴を戻そう
プラス
reflog でコミットを取り戻そう
プラス
git merge --abort でマージを中断しよう
プラス
reflog で消したコミットを復元しよう
プラス
「変更をやり直そう」の振り返り
プラス