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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an easy way to save a
Remoteto aRepository? It looks likegixdoes it under the hood withwrite_remote_to_local_config_fileduring 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, exceptconfigis crate-private. Is there an accepted way to do this?Beta Was this translation helpful? Give feedback.
All reactions