As today I tried:
git fetch origin <commit-hash>
And it works like a charm! (git version 2.20.1)
Just be sure the <commit-hash>
is the full length reference
More Related Contents:
- How to modify existing, unpushed commit messages?
- What are the differences between .gitignore and .gitkeep?
- See what’s in a stash without applying it [duplicate]
- Branch from a previous commit using Git
- How to replace master branch in Git, entirely, from another branch? [duplicate]
- How do you fix a bad merge, and replay your good commits onto a fixed merge?
- Git commands that could break/rewrite the history
- Jenkins: what is the correct format for private key in Credentials
- Git submodules in .gitmodules not initialized
- concept of bare shared repository in git
- Putting Git hooks into a repository
- How to squash my last x commits together?
- How can I export Git change sets from one repository to another via sneaker net (external files)?
- How to rebase local branch onto remote master
- Github: error cloning my private repository
- How to update a pull request from forked repo?
- How can I create a Git repository with the default branch name other than “master”?
- git commit get fatal error “fatal: CRLF would be replaced by LF in”
- Invalid SSL certificate when pushing to Git server
- How to color the Git console?
- DAG vs. tree using Git?
- How do I git rebase the first commit?
- What are these ^M’s that keep showing up in my files in emacs?
- GIT pull error – remote object is corrupted
- Git: untrack a file in local repo only and keep it in the remote repo
- Highlight changed lines and changed bytes in each changed line
- Setting up sublimetext 3 as git commit text editor
- Force “git status” to output color on the terminal (inside a script)
- remote rejected master -> master (pre-receive hook declined)
- Difference between Git and Nexus?