そんなんAIに聞いたらすぐできるやろ、って思ったのに、なんか時間かかった
特定のコミットの状態に戻すコミットを作成する
git restore --source=xxxxxxx --staged --worktree .
git clean -df
git commit -m "Revert to state of commit xxxxxxx"
そんなんAIに聞いたらすぐできるやろ、って思ったのに、なんか時間かかった
特定のコミットの状態に戻すコミットを作成する
git restore --source=xxxxxxx --staged --worktree .
git clean -df
git commit -m "Revert to state of commit xxxxxxx"
コメント