Git log without cloning the repository?

git log give us a really good functionality to know about what happened in the project. When we are in our machine and we have the cloned project is just executing the command. But I’ve realized that sometimes I need to read the log from somewhere else that is not my machine, so it would be great to ask for a log without having the repository cloned.

I’ve been looking around through google an reading the git-log man page but I didn’t found a way to do it.

  • What is a good way to manage cleanup commits in git for a legacy project?
  • git ignore file still commits logs
  • How to embed an updated git-hash into Version.hpp?
  • Safe way to 'reshape' a branch's history
  • adding new zshell command line custom git completions
  • How to incorporate WordPress automatic updates with Git as version control?
  • Does anybody know if this way of log can be done?

    Thanks in advance.

  • How can i merge code into master manually?
  • Looking for easy to setup version control for website development
  • Embed Git bash in PyCharm as external tool and work with it in PyCharm window
  • Can I restore my source code that has been uploaded into Google AppEngine?
  • How can I tell Emacs my git branch has changed?
  • How do I see a commit's path through git history, or “how it got in the current branch”?
  • One Solution collect form web for “Git log without cloning the repository?”

    I don’t know if a built-in way for this exists, but you can always fall back to a remote command over ssh:

    ssh some-host "cd my/repo && git log"
    

    This of course only works if you have shell access to the host.

    Git Baby is a git and github fan, let's start git clone.