Replies: 1 comment
-
Indeed, the However, writing the configuration back isn't easy, non-plumbing APIs don't exist for that yet. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an easy way to save a
Remote
to aRepository
? It looks likegix
does it under the hood withwrite_remote_to_local_config_file
during fetch, but that's in a private module.It would seem like
remote.save_as_to("origin".into(), repo.config_snapshot_mut().config)
should work, exceptconfig
is crate-private. Is there an accepted way to do this?Beta Was this translation helpful? Give feedback.
All reactions