git log remotename/branchname
Will display the log of a given remote branch in that repository, but only the logs that you have “fetched” from their repository to your personal “copy” of the remote repository.
Remember that your clone of the repository will update its state of any remote branches only by doing git fetch
. You can’t connect directly to the server to check the log there, what you do is download the state of the server with git fetch
and then locally see the log of the remote branches.
Perhaps another useful command could be:
git log HEAD..remote/branch
which will show you the commits that are in the remote branch, but not in your current branch (HEAD
).
Related Posts:
- Get a list of all git commits, including the ‘lost’ ones
- Pretty Git branch graphs
- How do I run git log to see changes only for a specific branch?
- How do I rename a local Git branch?
- Git refusing to merge unrelated histories on rebase
- What is the difference between git push origin and git push origin master
- git error: failed to push some refs to remote
- git – remote add origin vs remote set-url origin
- How do I undo ‘git add’ before commit?
- How do I discard unstaged changes in Git?
- Git: Message ‘src refspec master does not match any’ when pushing commits in Git
- How can I see the differences between two branches?
- How to upgrade Git on Windows to the latest version
- Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- Need to reset git branch to origin version
- How do I push a new local branch to a remote Git repository and track it too?
- ‘git’ is not recognized as an internal or external command
- git: fatal: Could not read from remote repository
- Windows git “warning: LF will be replaced by CRLF”, is that warning tail backward?
- How can I make git accept a self signed certificate?
- Untrack files from git temporarily
- How to fetch all Git branches
- How to change the URI (URL) for a remote Git repository?
- What would I use git-worktree for?
- Git error when trying to push — pre-receive hook declined
- Git: How to squash all commits on branch
- How can I save username and password in Git?
- What’s the purpose of git-mv?
- How do I revert all local changes in Git managed project to previous state?
- How to revert multiple git commits?
- The following untracked working tree files would be overwritten by merge, but I don’t care
- fatal: The current branch master has no upstream branch
- You have not concluded your merge (MERGE_HEAD exists)
- Heroku: “No default language could be detected for this app” error thrown for node app
- How to cherry-pick multiple commits
- Git master branch has no upstream branch
- git – pulling from specific branch
- How to copy commits from one branch to another?
- Trying to git pull with error: cannot open .git/FETCH_HEAD: Permission denied
- Remove a git commit which has not been pushed
- There is no tracking information for the current branch
- Git push results in “Authentication Failed”
- What are the differences between .gitignore and .gitkeep?
- How to remove files from git staging area?
- What’s the difference between git switch and git checkout
- How can I rollback a git repository to a specific commit?
- What is the point of ‘git submodule init’?
- How to remove a directory from git repository?
- git add . -> still “nothing to commit” with new files
- gpg failed to sign the data fatal: failed to write commit object
- How to resolve git’s “not something we can merge” error
- Git nothing added to commit but untracked files present – even with those files added to gitignore
- git push to specific branch
- How to squash all git commits into one?
- git returns http error 407 from proxy after CONNECT
- git: How to ignore all present untracked files?
- Move existing, uncommitted work to a new branch in Git
- Git Update Local Branch with remote Master
- How can I delete all of my Git stashes at once?
- What are the differences between “git commit” and “git push”?
- Repository is not clean. Please commit or stash any changes before updating In Angular 8
- Bower: ENOGIT Git is not installed or not in the PATH
- How to uninstall git-for-windows & re-install in new place?
- Your branch is ahead of ‘origin/master’ by 3 commits
- How to specify the private SSH-key to use when executing shell command on Git?
- Why I always Got Error “Push to origin/master was rejected”?
- How to resolve git status “Unmerged paths:”?
- Github Windows ‘Failed to sync this branch’
- git add only modified changes and ignore untracked files
- How can I generate a Git patch for a specific commit?
- How can I unstage my files again after making a local commit?
- What’s the use of the staging area in Git?
- Delete forked repo from GitHub
- Push local Git repo to new remote including all branches and tags
- Completely cancel a rebase
- How to discard local changes and pull latest from GitHub repository
- Python way to clone a git repository
- Git removing upstream from local repository
- Git pull – Please move or remove them before you can merge
- Unlink of file Failed. Should I try again?
- Resetting remote to a certain commit
- Change the location of the ~ directory in a Windows install of Git Bash
- How to edit gitignore file
- difference between git merge origin/master and git pull
- Git checkout – switching back to HEAD
- How to create a new branch from a tag?
- Import existing source code to GitHub
- git checkout all the files
- [npm notice created a lockfile as package-lock.json. You should commit this file
- WordPress and Git Workflow
- How can I sync WordPress plugin settings between environments?
- Different color admin bars for dev, staging and production
- Workflow for working with git and WordPress
- WordPress updates and Git
- best practice on pushing staging development (database/uploads) to the live server
- How to upload/update theme from local – bitbucket – shared hosting?
- Is it bad practice to install WordPress by cloning from the official GitHub repo?
- Tortoise SVN showing ‘Access to ‘/!svn/me” forbidden error.
- theme continuous deployment from bitbucket to windows azure
- how can I create a WP offline environment before releasing the websites? [closed]