git - Can I add additional references in an existing repo? -


git clone has --reference <repository> option sets sort of cache can used store objects not need copied newly created repo. file .git/objects/info/alternates created lists referenced repository directory.

i tried , able specify multiple "references" while cloning , created 2 lines in .git/objects/info/alternates file.

my question: there command add references in existing repository @ point after cloning. example, via command git remote reference <repo>.

and, if not, possible hand-edit .../alternates file achieve same results?


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -