Question with git log #23321
-
Im learning about git. I noted a difference when I do the same operation with 2 differents reppos, here it goes : In the first one when I call for a git log, it appears normally as it supposed to do : in this case it shows “commit hash_number author etc… readme.md” On the other hand when I move to another reppo and I call for a git log it appears exactly the same but with one difference, before the name of my single file created, in this case readme, it appears the word add, something like this: “commit hash_number author etc… ‘add’ readme.md” I made the exact same way to push’em into theis corresponding reppos, the only difference I made is where created the first and second reppo, in the first case, it’s located in butbucket, in the second, in github. What could it be? thnks a lot. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi jfer1990, From what you have described it sounds like what you’re seeing is the commit title. Is it possible that the push didn’t include any information in the commit message besides the filename? For example you might see: commit SHA Author: XXX@XXX.com Date: Thu Jun 7 14:40:05 2018 +1000 This would correspond to the short format as outlined in the official Git Documenation here: I hope this helps. Please let us know if you need anything else! |
Beta Was this translation helpful? Give feedback.
Hi jfer1990,
From what you have described it sounds like what you’re seeing is the commit title. Is it possible that the push didn’t include any information in the commit message besides the filename?
For example you might see:
commit SHA
Author: XXX@XXX.com
Date: Thu Jun 7 14:40:05 2018 +1000
Commit Message Add readme.md
This would correspond to the short format as outlined in the official Git Documenation here:
https://git-scm.com/docs/git-log
I hope this helps. Please let us know if you need anything else!