Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 296 Bytes

Life_saving_GIT_command.md

File metadata and controls

5 lines (4 loc) · 296 Bytes

Life Saving GIT command

  • git log - Show all git commit with their Hash
  • git revert <original hash of the commit> - Delete all the file locally which is associated with that perticular commit
  • git cherry-pick <original commit sha> - Bring Back the Deleted file or Unrevert