Search code examples
gitgit-branchgit-remotegit-log

How do i get commit logs of a remote located branch?


Without cloning the repository, Is it possible to get the following from command-line/git bash,

  1. List of branches in the repository
  2. git logs of specific branch

Solution

  • As far as i am aware the only way to do is to connect to server using ssh and running the git log on the server

    ssh remote@host "cd repo && git log"
    

    Fo windows u can use Putty