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

html - height not adding height to a empty div -

Oracle SQL. How to select specific IDs where value of columns specify criteria? -

python - Robot Framework location and name of keyword -