Going back to the history of my working directory – git, bash

I used git commit command directly on a remote repo, then git reseting hard to HEAD^,and I don’t know which files of the remote directory were deleted, is possible to find the history of the files of my remote working directory ? Perhaps a bash command would suffice ?

  • How do I use git-new-workdir on windows?
  • Asking for password when pushing to gitlab?
  • Programmatically get path to git directory in bash (including submodules)
  • Bash function to search git repository for a filename that matches regex
  • ANSI color in git is not displayed correctly
  • How to programmatically determine the current checked out Git branch
  • Two remotes in one repository
  • How can I match a file to a git commit?
  • Get commit count of a sub folder in a repo
  • How to check for conflicts during interactive git rebase?
  • How do I upgrade git submodules to the “gitfile” format?
  • Deploy Rails app to Heroku without using git?
  • One Solution collect form web for “Going back to the history of my working directory – git, bash”

    You can view what files were deleted with:

    git log --diff-filter=D --summary | grep delete
    
    Git Baby is a git and github fan, let's start git clone.