git log
inside a checkout step shows just single commit
#25652
-
When using git log in action/checkout step, even after using fetch and pull, I can only see a single commit in github actions, whereas on my local (even you can check on your local, as I print the SHAs value in
Build software better, togetherGitHub is where people build software. More than 65 million people use GitHub to discover, fork, and contribute to over 200 million projects. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Look up the |
Beta Was this translation helpful? Give feedback.
-
Yup, thank you so much! |
Beta Was this translation helpful? Give feedback.
Look up the
fetch-depth
parameter in the actions/checkout documentation. By default it is 1, meaning only the latest commit is fetched.