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.
More Related Contents:
- Move existing, uncommitted work to a new branch in Git
- Stash only one file out of multiple files that have changed with Git?
- See what’s in a stash without applying it [duplicate]
- How to recover a dropped stash in Git?
- How to name and retrieve a stash by name in git?
- Can “git pull” automatically stash and pop pending changes?
- Check if pull needed in Git
- How do I properly git stash/pop in pre-commit hooks to get a clean working tree for tests?
- How do I ignore an error on ‘git pull’ about my local changes would be overwritten by merge?
- Git Init in home directory – now unable to commit changes
- Is it possible to push a git stash to a remote repository?
- What is the best practice for dealing with passwords in git repositories?
- Add line break to ‘git commit -m’ from the command line
- git stash and apply
- Delete all local git branches
- How to add Git’s branch name to the commit message?
- How do I disable Git Credential Manager for Windows?
- How would I extract a single file (or changes to a file) from a git stash?
- How do I use Bash on Ubuntu on Windows (WSL) for my VS Code terminal?
- How do I name and retrieve a Git stash by name?
- Git: Create a branch from unstaged/uncommitted changes on master
- Git diff against a stash
- How to reverse apply a stash?
- In git, is there a way to show untracked stashed files without applying the stash?
- Stash changes to specific files
- Adding git branch on the Bash command prompt
- Why does git stash pop say that it could not restore untracked files from stash entry?
- How can I rename a git stash?
- What’s the difference between git stash save and git stash push?
- git stderr output can’t pipe