• Skip to primary navigation
  • Skip to content
  • Skip to footer
Jenny's Digital Brain
      Jenny Kim

      Jenny Kim

      I am an undergraduate student at University of Southern California majoring in Computer Science. Currently working at JPL NASA as an APX.

      • Los Angeles, CA
      • GitHub
      • Email

      How to undo git commits

      June 22, 2022

      On this page

      • Undo git commits
        • πŸ“Œ Undo only a specific commit
        • πŸ“Œ Undo every commit after b2d25ae
        • πŸ“Œ Then

      Undo git commits

      πŸ“Œ Undo only a specific commit

      git revert --no-commit b2d25ae


      πŸ“Œ Undo every commit after b2d25ae

      git revert --no-commit b2d25ae..HEAD git commit

      πŸ“Œ Then

      git commit

      Updated: June 22, 2022

      Share on

      Twitter Facebook LinkedIn
      Previous Next

      You may also enjoy

      Super Mario

      April 27, 2023

      Play the game here!

      Intro to x86-64

      October 8, 2022

      x86 Control Flow

      Integer and floating opint operations

      October 8, 2022

      Integer Representation and Operation

      Use gdb to step through disassembled binary

      September 29, 2022

      Assembly using gdb

      • Follow:
      • Email
      • GitHub
      • Feed
      © 2023 Jenny Kim.