see if git log HEAD^
works. If it doesn’t, it may be something with your localization or terminal. It seems to be filtering out the ^
symbol. As a workaround, use git reset --soft HEAD~1
for now.
More Related Contents:
- How do I force "git pull" to overwrite local files?
- How can I see the changes in a Git commit?
- Getting Git to work with a proxy server – fails with “Request timed out”
- Unable to Git-push master to Github – ‘origin’ does not appear to be a git repository / permission denied
- Git cherry pick and datamodel integrity
- Sparse checkout in Git 1.7.0?
- How can I view a git log of just one user’s commits?
- Updates were rejected because the remote contains work that you do not have locally
- How to convert a normal Git repository to a bare one?
- Set up git to pull and push all branches
- Undo git update-index –assume-unchanged
- Should “node_modules” folder be included in the git repository
- Remove file from git repository (history)
- Trying To Understand/Determine A Basic Git Workflow
- Is it possible to alias a branch in Git?
- How to preview git-pull?
- git pull –rebase lost commits after coworker’s git push –force
- Visual Studio Git Source Control without Git for Windows or Github extension
- git-svn: how do I create a new svn branch via git?
- How do you fork your own repository on GitHub?
- Git merging within a line
- Adding a collaborator to my free GitHub account?
- Does git ignore empty folders?
- Git: Is there a way to figure out where a commit was cherry-pick’ed from?
- How to attribute a single commit to multiple developers?
- Git: How to make outer repository and embedded repository work as common/standalone repository?
- Is there a way to compare two diffs or patches?
- How to perform a three-way diff in Git without merging?
- Clone only the .git directory of a git repo
- Other consequences of `git push –force`?