I create an empty new repository locally, add a remote repository. Now I want to get a specific commit from a remote repository without loading the entire remote repository with all its branches!
How to do it?
Answer
git fetch origin 96de5297df870:refs/remotes/origin/D-commit
See Get a specific commit from a remote Git repository
Source: https://habr.com/ru/post/1483186/More articles:Supplier Prefixes in Chrome and Opera - cssHow to prevent directory deletion in rsync - linuxHow to simulate distortion using opencv based on real data created using camera calibration (C ++)? - c ++wls-maven-plugin: deploying a shared library - mavenMouse Record Middle Button and Wheel Scrolling - .netKendo user interface diagram does not take up the entire width of the div - kendo-uiLINQ to Entities Does Not Recognize Boolean Contains [Int32] - c #MVC Razor gets the name of the month - tostringReturn Value Processing ANTLR - parsinghttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1483191/save-changes-to-restful-urls-with-breeze-js&usg=ALkJrhjVKfxowc4p98cwdS72czH2w9DAzQAll Articles