repo_description: A pure JavaScript implementation of git for node and browsers!
repo_topics: browser git hacktoberfest isomorphic-javascript javascript nodejs vcs
code: // @ts-check
  import { GitConfigManager } from '../managers/GitConfigManager.js'
  
  /**
   * @param {Object} args
   * @param {import('../models/FileSystem.js').FileSystem} args.fs
   * @param {string} args.gitdir
   * @param {string} args.remote
   *
   * @returns {Promise<void>}
   */
  export async function _deleteRemote({ fs, gitdir, remote }) {
    const config = await GitConfigManager.get({ fs, gitdir })
    await config.deleteSection('remote', remote)
    await GitConfigManager.save({ fs, gitdir, config })
  }
  