I need to get the date of the last commit (in seconds) from the remote repository without cloning it, and I need to do this with the basic git commands.
I can get the date of the last commit of the local repository in seconds using git log
command, but I did not find how to do the same with the remote repository without cloning it.
git log -1 --format=%ct
I work in bash.
How can I do that?