Is it possible to get commit logs/messages of a remote git repo without git clone

Murtaza Pitalwala

Is it possible to get commit logs/messages of a remote git repo without git clone?

The git repo I am working with is huge, even if I run git clone with --depth=1 still takes sometime before I am able to clone it.

I am looking for something like this,

git remote-log .

I have also looked in to git -ls-remote, which only provides the SHA and the Heads/tags. I am interested in getting the last 2 commit title, commit user and commit SHA?

Anyone know how to do that?

Noob

If you are looking to see the last few commits of a branch, try:

git clone -b [branch name] --single-branch [repo url] --depth=3

This will clone only the last 3 commits on the branch you are interested. Once done you can get into the cloned repo and view the history.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

clone git repo at specfic commit

From Dev

Git clone remote repo into another remote repo

From Dev

clone from a git repo and commit to a new repository

From Dev

feasibility of git without a remote repo

From Dev

feasibility of git without a remote repo

From Dev

When a commit was pushed into a remote Git Repo

From Dev

Fetch specific commit from remote git repo

From Dev

Is it possible to clone git-p4 repo?

From Dev

Is a Git clone without content possible?

From Dev

Is it possible to get branch names without clone or pull from git?

From Dev

Restore files in git repo without commit

From Dev

List branches of a git remote repo without cloning it

From Dev

git operations on remote repository without local clone

From Dev

Cloning a Git repo into a new repo - without commit history

From Dev

With Git, is it possible to download a revision without cloning the repo?

From Dev

How to commit a git repo into a git repo (not submodule)

From Dev

Clone remote git repository for local use without interfering with the remote branch

From Dev

Working with remote repo git

From Dev

Git / GitHub: How to get new local repo into empty remote repo

From Dev

How to git clone a specific tag only without getting the whole repo?

From Dev

How to clone svn repo with git svn and be able to commit to both git and svn?

From Dev

Clone a git repo without history and have the original repo be able to push changes to the shallow repo

From Dev

Clone a git repo without history and have the original repo be able to push changes to the shallow repo

From Java

Clone private git repo with dockerfile

From Dev

Can not clone git repo to server

From Dev

Clone a git repo on a Linux box

From Dev

Is it possible to get a list of all open PRs in a git repo without using the HTTPS API or the `gh` CLI tool?

From Dev

Clone only the .git directory of a git repo

From Dev

Git Clone Repo Has No .git File

Related Related

  1. 1

    clone git repo at specfic commit

  2. 2

    Git clone remote repo into another remote repo

  3. 3

    clone from a git repo and commit to a new repository

  4. 4

    feasibility of git without a remote repo

  5. 5

    feasibility of git without a remote repo

  6. 6

    When a commit was pushed into a remote Git Repo

  7. 7

    Fetch specific commit from remote git repo

  8. 8

    Is it possible to clone git-p4 repo?

  9. 9

    Is a Git clone without content possible?

  10. 10

    Is it possible to get branch names without clone or pull from git?

  11. 11

    Restore files in git repo without commit

  12. 12

    List branches of a git remote repo without cloning it

  13. 13

    git operations on remote repository without local clone

  14. 14

    Cloning a Git repo into a new repo - without commit history

  15. 15

    With Git, is it possible to download a revision without cloning the repo?

  16. 16

    How to commit a git repo into a git repo (not submodule)

  17. 17

    Clone remote git repository for local use without interfering with the remote branch

  18. 18

    Working with remote repo git

  19. 19

    Git / GitHub: How to get new local repo into empty remote repo

  20. 20

    How to git clone a specific tag only without getting the whole repo?

  21. 21

    How to clone svn repo with git svn and be able to commit to both git and svn?

  22. 22

    Clone a git repo without history and have the original repo be able to push changes to the shallow repo

  23. 23

    Clone a git repo without history and have the original repo be able to push changes to the shallow repo

  24. 24

    Clone private git repo with dockerfile

  25. 25

    Can not clone git repo to server

  26. 26

    Clone a git repo on a Linux box

  27. 27

    Is it possible to get a list of all open PRs in a git repo without using the HTTPS API or the `gh` CLI tool?

  28. 28

    Clone only the .git directory of a git repo

  29. 29

    Git Clone Repo Has No .git File

HotTag

Archive