How to delete all git aliases at once?

How can I delete all existing git aliases at once? I tried git config –unset-all … but was unable to figure out the correct syntax for this command.

  • Merge-only Branch on BitBucket/GitLab/GitHub?
  • Extract out changes to single file in a range of git commits
  • Separating previously conjoined code into multiple git repositories
  • Is it possible to remove a github account
  • Git blame on a renamed file that is not yet committed
  • git produces Gtk-WARNING: cannot open display
  • How to work with a non-commited git file over multiple computers
  • How can I split up a Git commit buried in history?
  • Git: Remove untracked files in GitLab/GitHub repo without affecting production servers' files
  • Git Squash Not Working
  • Is there a configuration tool for gitattributes?
  • Gradle - import GitHub repository and make it a subproject dependency?
  • 3 Solutions collect form web for “How to delete all git aliases at once?”

    Have you tried this:

    git config [--global] --remove-section alias
    

    You can remove it by deleting that line from the configuration file.

    This is the command for removing the alias

    git config --global --unset alias.YourAlias
    

    Also this might be useful for you
    Git alias to delete remote branch

    Easiest to just edit your config file directly.

    Git Baby is a git and github fan, let's start git clone.