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
Post a Comment