I have fixed network of git remotes and I would like them to be attached to repository. Unfortunately git-clone doesn't clone remotes. Is there a way around it?
I begin this command
https://github.com/juanpabloaj/git-remote-init
for save the remotes in a .gitremotes file
There is no way to do this with git, as far as I know.
Telling users to run scripts post-clone is what people tend to do. If it's a ruby project, you probably have rake
, for example, so you could have a rake post_install
task.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With