While pushing my commits to the remote branch and after staging files with git add .
, Git unexpectedly created a new file named h
containing commit logs. I’m unsure why this happened since I hadn’t accidentally executed any Git commands, although I did run git log
without parameters, which typically doesn’t create files.
hfilethatgitadded
I searched online but couldn’t find any information related to this issue.