• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

undo

Git Undo Add

October 13, 2021

To undo a git add, run git reset file or get reset.

git reset filename
git reset

git reset filename git reset

Run git status to check.

git status

git status

Filed Under: Linux Tagged With: add, git, reset, undo

  • Home
  • About
  • Archives

Copyright © 2023