Relative Content

Tag Archive for gitgit-log

Git log -p — shows a commit with no patch

I asked git to show me all the commits that modified a certain file, and it produced what I asked, except some commits show no modification to said file (and so instead only the commit hash/author/message etc… appears). It seems that most of these commits are merges. What could be the meaning of this ?

Git auto created a FILE with git logs inside it

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